Placing NERDTree bookmark file not on home dir (#624)
This commit is contained in:
parent
4f622e6d2b
commit
2b6b3822e3
1 changed files with 5 additions and 0 deletions
|
@ -51,6 +51,11 @@ set clipboard+=unnamedplus
|
||||||
" Nerd tree
|
" Nerd tree
|
||||||
map <leader>n :NERDTreeToggle<CR>
|
map <leader>n :NERDTreeToggle<CR>
|
||||||
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
|
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
|
||||||
|
if has('nvim')
|
||||||
|
let NERDTreeBookmarksFile = stdpath('data') . '/NERDTreeBookmarks'
|
||||||
|
else
|
||||||
|
let NERDTreeBookmarksFile = '~/.vim' . '/NERDTreeBookmarks'
|
||||||
|
endif
|
||||||
|
|
||||||
" vimling:
|
" vimling:
|
||||||
nm <leader>d :call ToggleDeadKeys()<CR>
|
nm <leader>d :call ToggleDeadKeys()<CR>
|
||||||
|
|
Loading…
Reference in a new issue