I set VIM to open NERDTree whenever VIM is started by doing this: autocmd VimEnter * NERDTree
What changes should I make to my vimrc file so that the Bookmarks also open up whenever VIM & NerdTree are started?
Bookmark this question. Show activity on this post. I normally switch screen in vim using ctrl+h or ctrl+l to switch between NerdTree and vim main window.
If you want to close NERDTree window make sure you are inside the NERDTree menu. You can switch windows by using ctrl+w then type :q to close NERDTree window so that you will be left with the window for editing your code.
let NERDTreeShowBookmarks=1
will display the bookmarks table on startup. If you wanted to actually open the files for editing, I'm not sure how to do that.
NERDTree provides a very nice documentation file. If you extracted the zip file in ~/.vim, it is located at ~/.vim/doc/NERD_tree.txt. If you want to use with vim's built in help, run :helptags ~/.vim/doc/
and then you'll be able to access it with :help NERDTree
.
Of course, if you extracted the zip someplace else, replace ~/.vim with the folder you extracted it into.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With