本文主要是介绍[经验总结]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的NerdTree插件不错的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!