Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to list all bookmarks in NERDTree of VIM?

Tags:

vim

nerdtree

I want to see how many bookmark in my NERDTree, and I want to get a list all of them, buy are there any command in NERDTree or vim can do that?

like image 639
aboutstudy Avatar asked May 24 '12 07:05

aboutstudy


People also ask

How to add bookmark in NERDTree?

In [NERDTree], you can toggle the display of bookmarks with B. When your cursor is on a file name there do :Bookmark to add it to the bookmarks list.

How do you delete a bookmark on NERDTree?

Put your cursor over the bookmark you want to delete and hit shift - d (i.e. capital D).

How do I switch between vim and NERDTree?

I normally switch screen in vim using ctrl+h or ctrl+l to switch between NerdTree and vim main window. Vim8 got :term command to bring up terminal which is great!


1 Answers

Just press B (while NERDTree is active), to see your bookmarks above the file tree. If you want them in a separate buffer, just :e $HOME/.NERDTreeBookmarks (if you did not change the NERDTreeBookmarksFile option).

like image 70
Zsolt Botykai Avatar answered Sep 19 '22 19:09

Zsolt Botykai