搜索了一下,找到这个:[url]http://github.com/scrooloose/nerdtree/issues/closed#issue/7[/url]
[quote]
I ran into the same thing on WinXP when just trying to open the tree. It looked like it was inserting an extra backslash in the directory path during the escaping. I just changed line 142 to:
[code]let s:escape_chars = " \\`\|\"#%&,?()\*^<>"
if s:running_windows
let s:escape_chars = " `\|\"#%&,?()\*^<>"
endif[/code]
It may not be the correct solution, but it allowed me to use it on both windows and linux[/quote]
照上面所说的,打开plugin/NERD_tree.vim进行编辑,把142行用上面的代码替换掉就好了。
[quote]
I ran into the same thing on WinXP when just trying to open the tree. It looked like it was inserting an extra backslash in the directory path during the escaping. I just changed line 142 to:
[code]let s:escape_chars = " \\`\|\"#%&,?()\*^<>"
if s:running_windows
let s:escape_chars = " `\|\"#%&,?()\*^<>"
endif[/code]
It may not be the correct solution, but it allowed me to use it on both windows and linux[/quote]
照上面所说的,打开plugin/NERD_tree.vim进行编辑,把142行用上面的代码替换掉就好了。