Vim: How to insert in visual block mode?

前端 未结 4 1120
离开以前
离开以前 2020-12-12 11:58

How can you insert when you are in visual block mode (by pressing ctrl-V) in Vim?

4条回答
  •  [愿得一人]
    2020-12-12 12:24

    if you want to add new text before or after the selected colum:

    • press ctrl+v
    • select columns
    • press shift+i
    • write your text
    • press esc
    • press "jj"

提交回复
热议问题