diff --git a/bundles-init/nerdtree.cfg.vim b/bundles-init/nerdtree.cfg.vim index 6689d7c..94547dc 100644 --- a/bundles-init/nerdtree.cfg.vim +++ b/bundles-init/nerdtree.cfg.vim @@ -6,7 +6,7 @@ nnoremap e :NERDTreeToggle autocmd VimEnter * if argc() == 0 && &columns > 150 | NERDTree | endif " Set the bookmarks file's path -let g:NERDTreeBookmarksFile = g:vim_vardata . '/NTBookmarks' +let g:NERDTreeBookmarksFile = GetVardataPath( 'NTBookmarks' ) if filereadable( g:NERDTreeBookmarksFile ) ReadBookmarks endif