close

Tip 20. Grok Visual Mode

Tip 21. Define a Visual Selection
從普通模式切回模式:
v 啟動字符的可視模式
V 啟動字行的可視模式
<C-v> 啟動塊狀的可視模式
gv 重選上次所選擇的區域

在可視模式:
<Esc> / <C-[> 切回普通模式
o 切換高亮區的活動端

Tip 22. Repeat Line-Wise Visual Commands
利用 < 或 > 命令,進行縮行的排列。

Tip 23. Prefer Operators to Visual Commands Where Possible

Tip 24. Edit Tabular Data with Visual-Block Mode
Vr- 將整列的字元,用 "-" 取代

Tip 25. Change Columns of Text
利用 <C-v> 啟動塊狀的可視模式,接著利用 c 進入插式模式,可以直接對整個區塊作插入的動作。

Tip 26. Append After a Ragged Visual Block
利用 <C-v> 啟動塊狀的可視模式,接著利用 A 進入插式模式,可以直接對整個區塊行的最後插上字元。

arrow
arrow
    全站熱搜

    silverfoxkkk 發表在 痞客邦 留言(0) 人氣()