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?
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.
Put your cursor over the bookmark you want to delete and hit shift - d (i.e. capital D).
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!
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).
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