Vim RecallEnglish

以 'nomagic' 執行 :substitute

:snomagic

範例

一般模式 0 / 2
old old
old
游標位於第 1 行,第 1 欄

以 'nomagic' 執行 :substitute。

操作前後
操作前
old old
old
游標位於第 1 行,第 1 欄
操作後
new new
new
游標位於第 2 行,第 1 欄

從一般模式開始。按鈕上列出的就是範例使用的範圍和引數,按 Enter 執行。縮排使用 expandtab 且 shiftwidth=2。

詳細說明與 Vim 文件

範例已在 Vim 重播驗證

本例輸入 :%snomagic/old/new/g 後按 Enter。可簡寫為 :sno。