Wednesday, August 3, 2011

help setting NERDTreeBookmarksFile in vimrc

Hello all, in vimrc i can have this setting:
NERDTreeBookmarksFile='/home/myuser/.vim_nerdtree_bookmarks'

However to make this more "portable", i wanted something like:
NERDTreeBookmarksFile='~/.vim_nerdtree_bookmarks' or NERDTreeBookmarksFile='$HOME/.vim_nerdtree_bookmarks'

The latter makes NERDTree not read my bookmarks, and when taking off the quotes, Vim raises a vimrc error.

Thanks in advance.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: