| title |
|---|
Vim / Visual Mode |
Vim / Visual Mode
- Vim: visual.txt
- Visual mode is a flexible and easy way to SELECT A PIECE OF TEXT FOR AN OPERATOR. It is the only way to select a BLOCK of text. Since Vim 7.4.200 the
|+visual|feature is always included.
- Visual mode is a flexible and easy way to SELECT A PIECE OF TEXT FOR AN OPERATOR. It is the only way to select a BLOCK of text. Since Vim 7.4.200 the
- Using Visual mode - Vim: visual.txt #ril
-
Using Visual mode consists of three parts: 先決定範圍,接下來的 command 只會作用在選取的範圍
- Mark the start of the text with "v", "V" or CTRL-V. The character under the cursor will be used as the START.
- Move to the END of the text. The text from the start of the Visual mode up to and INCLUDING the character under the cursor is highlighted.
- Type an operator command. The highlighted characters will be operated upon.
-
文件: