bugfix: the window state wasnt being stored
This commit is contained in:
parent
93a0a422b4
commit
dc108f555e
@ -161,7 +161,7 @@ command! -n=0 -bar NERDTreeMirror call s:initNerdTreeMirror()
|
||||
"============================================================
|
||||
augroup NERDTree
|
||||
"Save the cursor position whenever we close the nerd tree
|
||||
exec "autocmd BufWinLeave *". s:NERDTreeBufName ." call <SID>saveScreenState()"
|
||||
exec "autocmd BufWinLeave ". s:NERDTreeBufName ."* call <SID>saveScreenState()"
|
||||
"cache bookmarks when vim loads
|
||||
autocmd VimEnter * call s:Bookmark.CacheBookmarks(0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user