建立於 2023-06-02 更新於 2026-07-06
# vim

指令

在 normal mode 輸入 : 即可開始輸入指令:

  • :/keyword : 在當前檔案中搜尋
  • :% s/target/replace/gc : 在當前檔案中搜尋並取代,取代有多種模式 (y/n/a/q/l)
  • :help key-notation : 查詢 key notation,方便你在設定檔案中設定快捷鍵