Use actual data path for NERDTree bookmarks
This commit is contained in:
parent
8f3f5d376f
commit
13aa38add2
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ nnoremap <Leader>e :NERDTreeToggle<CR>
|
||||||
autocmd VimEnter * if argc() == 0 && &columns > 150 | NERDTree | endif
|
autocmd VimEnter * if argc() == 0 && &columns > 150 | NERDTree | endif
|
||||||
|
|
||||||
" Set the bookmarks file's path
|
" Set the bookmarks file's path
|
||||||
let g:NERDTreeBookmarksFile = g:vim_vardata . '/NTBookmarks'
|
let g:NERDTreeBookmarksFile = GetVardataPath( 'NTBookmarks' )
|
||||||
if filereadable( g:NERDTreeBookmarksFile )
|
if filereadable( g:NERDTreeBookmarksFile )
|
||||||
ReadBookmarks
|
ReadBookmarks
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue