vim插件系列之NERDTree

时间:2014-03-16 09:59:20   收藏:0   阅读:531
NERDTree  :A tree explorer plugin for navigating the filesystem

         用于浏览文件系统的树资源管理器插件


1.下载地址

          http://www.vim.org/scripts/script.php?script_id=1658


2.安装
       install details
       Unzip the archive into your ~/.vim directory.
       That should put NERD_tree.vim in ~/.vim/plugin and NERD_tree.txt in ~/.vim/doc


3.配置

               NERDTree 开启需输入 :NERDTree,关闭时按 q 即可。也可以加入快捷键开启
          vim ~/.vimrc
          加入此行
              nnoremap <silent> <C-F5> :NERDTree<CR>

          这样按Ctrl+F5就会自动展开目录树


4.使用:
         1、在linux命令行界面,输入vim

          2、输入  :NERDTree ,回车       【或者ctrl+F5】

bubuko.com,布布扣

          3、进入当前目录的树形界面,移动选中的目录或文件
          4、目录前面有展开号,摁Enter会展开目录,文件前面是-号,摁Enter会在左侧窗口展现该文件的内 容
          5、输入:q回车,关闭光标所在窗口

补充:

     ctrl + w + w    光标自动在左右侧窗口切换


vim插件系列之NERDTree,布布扣,bubuko.com

原文:http://blog.csdn.net/u011570979/article/details/21302339

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!