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

前端 未结 4 1409
不思量自难忘°
不思量自难忘° 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:11

    Since I use auto-pairs plugin, I have changed its default g:AutoPairsShortcutJump option

    " Jump outside '"({
    if !exists('g:AutoPairsShortcutJump')
      let g:AutoPairsShortcutJump = ''
    endif
    

    Now it's easy not only to jump ouside pairs but also insert them.

提交回复
热议问题