We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffbc5d0 commit 3bb112dCopy full SHA for 3bb112d
plugin/NERD_tree.vim
@@ -167,6 +167,9 @@ command! -n=0 -bar NERDTreeFind call s:findAndRevealPath()
167
augroup NERDTree
168
"Save the cursor position whenever we close the nerd tree
169
exec "autocmd BufWinLeave ". s:NERDTreeBufName ."* call <SID>saveScreenState()"
170
+
171
+ "disallow insert mode in the NERDTree
172
+ exec "autocmd BufEnter ". s:NERDTreeBufName ."* stopinsert"
173
"cache bookmarks when vim loads
174
autocmd VimEnter * call s:Bookmark.CacheBookmarks(0)
175
0 commit comments