Ⅰ. 插件描述
Favorite file and directory explorerⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/favex'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/favex'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/favex'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/FavEx
Ⅳ. 文档说明
favex.vim is a plugin to update a list (favlist) of favorite files and directories, and use the list to provide easy access to the favorites.
A skeletal favlist is provided. As you edit your favorites, you can add files and their directories to favlist with the :FF and :FD commands or their ff and fd key map equivalents. Once there are some entries in favlist, you can access your favorites by entering a favex window with either :FE or :FS and then pressing <Enter>, o, or O -- keys entirely analogous to those used in file-explorer. The key mappings, the favex window height, and the favex directory explore command can be customized by setting global variables in your vimrc.
favex.vim requires Vim 6.0 (or later) run with at least "set nocompatible" in the vimrc, and with the standard file-explorer plugin (or a suitable replacement) loaded.