NERDTree bookmarks in data directory
This commit is contained in:
parent
c764242b63
commit
2722a5cad0
1 changed files with 6 additions and 0 deletions
|
@ -5,3 +5,9 @@ nnoremap <Leader>e :NERDTreeToggle<CR>
|
||||||
" Open automatically if there are more than 150 columns and no file was specified
|
" Open automatically if there are more than 150 columns and no file was specified
|
||||||
autocmd VimEnter * if argc() == 0 && &columns > 150 | NERDTree | endif
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue