bugfix: the window state wasnt being stored

This commit is contained in:
marty 2009-10-09 14:36:25 +13:00
parent 93a0a422b4
commit dc108f555e

View File

@ -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)