Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Commit

Permalink
update nerdtree
Browse files Browse the repository at this point in the history
  • Loading branch information
bleything committed Sep 23, 2011
1 parent ff727e6 commit dfb3d3b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bundle/nerdtree/plugin/NERD_tree.vim
Expand Up @@ -169,6 +169,10 @@ command! -n=0 -bar NERDTreeFind call s:findAndRevealPath()
augroup NERDTree
"Save the cursor position whenever we close the nerd tree
exec "autocmd BufWinLeave ". s:NERDTreeBufName ."* call <SID>saveScreenState()"

"disallow insert mode in the NERDTree
exec "autocmd BufEnter ". s:NERDTreeBufName ."* stopinsert"

"cache bookmarks when vim loads
autocmd VimEnter * call s:Bookmark.CacheBookmarks(0)

Expand Down

0 comments on commit dfb3d3b

Please sign in to comment.