VIM column editing operations linux

First, remove columns

1. Position the cursor to the place of operation.

2.CTRL + v enter "Visual block" mode, select the column number row operation.

3.d deleted.

 

Second, Insert Column

Insert operation, then knowledge is slightly different. For example, in each row is inserted before the "()":

1. Position the cursor to the place of operation.

2.CTRL + v enter "Visual block" mode, select the column number row operation.

3.SHIFT + i (I) the content of the input to be inserted.

4.ESC Press twice to insert the contents of the selected area will appear in each row

Published 172 original articles · won praise 45 · views 40000 +

Guess you like

Origin blog.csdn.net/fish_study_csdn/article/details/103938029