How do you prefer to switch between buffers in Vim?

前端 未结 16 2148
小蘑菇
小蘑菇 2020-12-12 08:33

I\'ve tried MiniBufExplorer, but I usually end up with several windows showing it or close it altogether. What I\'d like is something like LustyJuggler with incremental sear

16条回答
  •  忘掉有多难
    2020-12-12 09:06

    I use

    CTRL-J for next buffer

    CTRL-K for previous buffer

    CTRL-L for next tab

    CTRL-H for previous tab

    Here is the .vimrc configuration:

    map  :bnext
    map  :bprev
    map  :tabn
    map  :tabp
    

    See http://syskall.com/my-biggest-vim-productivity-boost/

提交回复
热议问题