2020年12月16日星期三

vim 列编辑

 How to do column editing in vim?

https://stackoverflow.com/a/6972206/4539590 

To edit a column, follow these steps:

  1. Stand on the beginning of the column
  2. Press Ctrl+v, then mark across the column you want to edit.
  3. Press Shift+i to insert text at the beginning of the column, Shift+a to append text, r to replace highlighted text, d to delete, c to change... etc.
  4. Hit ESC when done.

 

没有评论: