Traversing text in Insert mode

后端 未结 12 1274
逝去的感伤
逝去的感伤 2020-12-02 03:00

While in Insert Mode in Vim, is there any way to traverse the text moving some characters forward and backward other than using the arrow keys?

If I

12条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-02 03:51

    For some frequently used movements and actions, I have defined the following mappings. This saves a keystroke compared to the CTRL+O combination and since I need them frequently, they pay off in the long run.

    inoremap  $
    inoremap  ^
    inoremap  
    inoremap  
    inoremap  O
    inoremap  o
    

提交回复
热议问题