How can I go to end of parenthesis/brackets/quotes without switching insert mode in Vim?

前端 未结 4 1405
不思量自难忘°
不思量自难忘° 2021-02-04 05:45

I\'m looking for a plugin that makes you get out of parenthesis/brackets/quotes/etc when you\'re inside them. I find it kind of hard having to ESC to command mode and typing A t

4条回答
  •  北海茫月
    2021-02-04 06:20

    A plugin would be overkill. Add this mapping to your ~/.vimrc:

    inoremap  A
    
    • is used to issue a normal mode command without leaving insert mode.
    • A, well… you know what it does.

提交回复
热议问题