[经验总结]Vim的NerdTree插件不错

Author: Thinkhy
Date: 2010.01.30.
Url: http://www.disandu.com/?p=698
Keyword: VIM NerdTree VIM打开目录

听说过NerdTree插件,一直没装,凑合着用Vim自带的Netrw打开目录。Netrw用起来有很多不方便之处,显示方式不直观,打开文件后不能保留目录窗口。终于,在水木VIM版看了网友的推荐之后,我决定试用NerdTree插件,这一用就不得了,才半天时间,我发现已经离不开这个插件了,那么就让NerdTree成为我的标配吧。

特地为NerdTree配置了几个映射:

  "NERDTree plugin
 let NERDTreeWinPos = "right" "where NERD tree window is placed on the screen
 "let NERDTreeWinSize = 31 "size of the NERD tree
 nmap <F7> <ESC>:NERDTreeToggle<RETURN>" Open and close the NERD_tree.vim separately

NerdTree插件地址: http://www.vim.org/scripts/script.php?script_id=1658


你可能感兴趣的:(VIM,开源软件)