nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit 2b1eecebb2f2888641740fb65bff7211c6335e18
parent c0d83f95a89df106ec174ae9577d57bff7ebf6d9
Author: Martin Grenfell <martin_grenfell@msn.com>
Date:   Sun, 22 Jun 2008 17:19:07 +1200

bugfix for renaming files

Diffstat:
Mplugin/NERD_tree.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -1212,7 +1212,7 @@ function! s:oPath.Rename(newPath) dict
         throw "NERDTree.Path.InvalidArguments exception. Invalid newPath for renaming = ". a:newPath
     endif
 
-    let success =  rename(self.StrForOS(!s:running_windows), a:newPath)
+    let success =  rename(self.StrForOS(0), a:newPath)
     if success != 0
         throw "NERDTree.Path.Rename Exception: Could not rename: '" . self.StrForOS(0) . "'" . 'to:' . a:newPath
     endif