Ⅰ. 插件描述
uses perl and tree to create a tree file explorerⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/treeexplorer'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/treeexplorer'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/treeexplorer'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/treeexplorer
Ⅳ. 文档说明
IMPORTANT: See UPDATES below - this script is now an orphan
Uses perl and the unix tree command (available on linux, or find sources on freshmeat.net) to create a tree based explorer for your directory structure. Features:
- directories are foldable
- different filetypes are highlighed
- open a file in a new window
- mappings for naviagation,
- lazy loading of directory structure
Caveats:
Probably doesn't work right for non-unix systems, I'm working on this, but help is welcome
UPDATES:
- I have reimplemented this script using only vim. The new implementation can be found at http://vim.sourceforge.net/scripts/script.php?script_id=184 - vimtreeexplorer.vim. That approach is faster as well as requiring no external programs. I have now abandoned the original implementation because the new implementation can do recursive expansion if you want it to.
Scott