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
|
augroup NERDTree
|
||||||
"Save the cursor position whenever we close the nerd tree
|
"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
|
"cache bookmarks when vim loads
|
||||||
autocmd VimEnter * call s:Bookmark.CacheBookmarks(0)
|
autocmd VimEnter * call s:Bookmark.CacheBookmarks(0)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user