diff --git a/bundles-init/nerdtree.cfg.vim b/bundles-init/nerdtree.cfg.vim index 326f4b5..6689d7c 100644 --- a/bundles-init/nerdtree.cfg.vim +++ b/bundles-init/nerdtree.cfg.vim @@ -5,3 +5,9 @@ nnoremap e :NERDTreeToggle " Open automatically if there are more than 150 columns and no file was specified autocmd VimEnter * if argc() == 0 && &columns > 150 | NERDTree | endif +" Set the bookmarks file's path +let g:NERDTreeBookmarksFile = g:vim_vardata . '/NTBookmarks' +if filereadable( g:NERDTreeBookmarksFile ) + ReadBookmarks +endif +