Vim: Visual Mode
Visual Mode is used for selecting blocks of text, which you can then manipulate with other commands.
Enable Visual Mode
| Command | Description |
|---|---|
v | Enter visual mode to select text character by character. |
V | Enter visual line mode to select whole lines. |
Ctrl + v | Enter visual block mode to select columns of text. |
Visual Mode Editing
| Command | Description |
|---|---|
x | Delete selected text. |
d | Delete selected text. |
y | Yank (copy) selected text. |
p | Paste the yanked or deleted text after the cursor. |