Vim column block Operation
1. There are three ways to enter the visual mode: v, V, CTRL + V (1) Enable the visual mode by v. You can select the content by a single character and move the cursor to select. For example:
(2) Press V to enable visual mode. Immediately select the row where the cursor is located, and press the single line character to select the content. move the cursor to select.
(3) press CTRL + V to enable the visible column block mode. You can select a single character in the column direction and move the cursor to select
Ii. Column Block Mode
CTRL + v: Enable block visualization. Move the mouse to select a rectangle. You can use this function for regular tables. Currently, the cursor is in the lower right corner. You can move the cursor at the four corners of the block by pressing o and O to switch the four vertices.
(1) Delete or cut operation (a). Press "d" to delete the selected region.
(B), press "D" to delete the data behind the selected region and row
(2) input operations
Press CTRL + v to enter the column block mode. Select the place where you want to add the content.
Press "I" to enter the insert, and then enter "//" (the character you want to enter)
Then press "ESC" to enter the characters you want to enter in other lines.
(3) copy and paste CTRL + v to enter the column block mode. Select the content to be copied.
Copy the content according to "y". Four lines of yanked are copied.
Move the cursor to the beginning of the line and press "p" to input content in the column behind the cursor, press "P" to input the content in the column before the cursor. Press "p" to increase the effect of "P ".