Switching between tabs in NERDTree

前端 未结 9 2089
旧时难觅i
旧时难觅i 2020-12-22 15:59

I\'ve just started using the NERDTree vim plugin for my project.

I can\'t find the documentation for switching between opened tabs. Can anyone tell me the shortcut k

9条回答
  •  悲哀的现实
    2020-12-22 16:21

    I like to bind my vim navigation keys to switching between tabs. Here are the lines from my .vimrc file:

    map   :tabn
    map   :tabp
    map   :tabnew
    

    That way, I can switch between tabs using the left and right buttons just like I normally would move the cursor, except I just hold the Control key as well.

    • Control+l moves to the next tab
    • Control+h moves to the previous tab
    • Control+n creates a new tab

提交回复
热议问题