diff --git a/nerdtree_plugin/fs_menu.vim b/nerdtree_plugin/fs_menu.vim index a638bd7..e0911e4 100644 --- a/nerdtree_plugin/fs_menu.vim +++ b/nerdtree_plugin/fs_menu.vim @@ -202,6 +202,8 @@ endfunction " FUNCTION: NERDTreeDeleteNode() {{{1 function! NERDTreeDeleteNode() + let l:shellslash = &shellslash + let &shellslash = 0 let currentNode = g:NERDTreeFileNode.GetSelected() let confirmed = 0 @@ -242,7 +244,7 @@ function! NERDTreeDeleteNode() else call nerdtree#echo("delete aborted") endif - + let &shellslash = l:shellslash endfunction " FUNCTION: NERDTreeListNode() {{{1