nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit 06c7c5312720b6c3724847af3122937037f34f3c
parent ec682b1f9b41a6d7a154563be68f502f6a381be6
Author: Martin Grenfell <martin_grenfell@msn.com>
Date:   Wed,  2 Jul 2008 22:38:47 +1200

fix for swap files and opening in a split

when opening a file in a new split (with the <tab> map) we were doing
the :split with a "silent" modifier. This meant that a swap existed and
input was required from the user, the script would just freeze up

Diffstat:
Mdoc/NERD_tree.txt | 1+
Mplugin/NERD_tree.vim | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/NERD_tree.txt b/doc/NERD_tree.txt
@@ -889,6 +889,7 @@ fridge for later ;)
       settings for each new NERD tree.
     - fix to window resizing when opening a file when NERD tree is the only
       window open
+    - other fixes
 
 2.11.0
     - changes to the 'o' mapping when opening files:
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -2320,7 +2320,7 @@ function! s:OpenNodeSplit(treenode)
 
     " Open the new window
     try
-        exec("silent " . splitMode." sp " . a:treenode.path.StrForEditCmd())
+        exec(splitMode." sp " . a:treenode.path.StrForEditCmd())
     catch /^Vim\%((\a\+)\)\=:E37/
         call s:PutCursorInTreeWin()
         throw "NERDTree.view.FileOpen exception: ". a:treenode.path.Str(0) ." is already open and modified."