Ⅰ. 插件描述
tree based file explorer - the originalⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/vtreeexplorer'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/vtreeexplorer'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/vtreeexplorer'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/vtreeexplorer
Ⅳ. 文档说明
Creates a tree based file explorer within vim.
This is like the directory explorer plugin that ships with vim, but instead of presenting just one directory at a time, this plugin present portions of the filesystem hierarch in a tree view. This type of view should be familiar from modern graphical file managers. This explorer persents navigation, exploration, and opening of files only - unlike the standard directory explorer that allow you to delete and rename files. This a handy tool for becoming familiar with source trees.
Feature summary:
- directories are foldable (fold markers are highlighted invisible)
- directories and links are syntax highlighted
- open a file in a new window
- mappings for naviagation (keyboard and mouse) - goto parent, change dir, go up, cd to home, refesh, etc
- lazy loading of directory structure - one directory at a time. Recursive expansion also available.
Caveats:
May not work well for obscure systems - unix and windows work well. Please send bugs or patches.
This is a reimplementation of the treeexplorerer (see http://vim.sourceforge.net/scripts/script.php?script_id=183 ) that doesn't require perl or the tree command - it's pure vim.
Scott