Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

update nerdtree

  • Loading branch information...
commit dfb3d3b455bc7636e853af57be0b7dc6a10bd5f8 1 parent ff727e6
@bleything authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 bundle/nerdtree/plugin/NERD_tree.vim
View
4 bundle/nerdtree/plugin/NERD_tree.vim
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.