diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 9342fa9..48635a4 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -51,6 +51,11 @@ set clipboard+=unnamedplus " Nerd tree map n :NERDTreeToggle 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: nm d :call ToggleDeadKeys()