Make NERDtree not be the default window when VIM starts?

前端 未结 2 827
感情败类
感情败类 2021-02-14 06:46

I just started playing around with NERDtree and VIM and can\'t figure out how to make NERDtree NOT be the default window when it opens.

I\'d like to ope

2条回答
  •  [愿得一人]
    2021-02-14 06:52

    Have you tried this?

    " Start NERDTree
    autocmd VimEnter * NERDTree
    " Jump to the main window.
    autocmd VimEnter * wincmd p
    

    It seems to me, based on your .vimrc, that you are opening NERDTree. You just want to jump to the other window afterwards.

提交回复
热议问题