Ⅰ. 插件描述
Easily manage your vim's pluginsⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'vhalholl/apthogen'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'vhalholl/apthogen'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'vhalholl/apthogen'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vhalholl/vim-apthogen
Ⅳ. 文档说明
#vim-apthogen
Easily manage your vim's plugins
- Like
aptfordpkg,vim-apthogenis a frontend tovim-pathogen

Installation :
Backup your initial vim configuration :
mv ~/.vim .vim-$(date +%Y%m%d)
mv ~/.vimrc .vimrc-$(date +%Y%m%d)Create new directory and execute netinstall script via curl :
mkdir ~/.vimnew && cd $_ && curl -sL https://git.io/vVQ2x |bashThis will output something like this :
Apthogen::Incubate
Apthogen::Infection
Apthogen::Propagate::required
Apthogen::Phagocyte::https://github.com/tpope/vim-pathogen
[...]You can import more modules after installation like this :
./netinstallThis will output the module import menu :
[S]lim (Only Required Modules)
[M]inimal (Default)
[H]ighly Recomended
[R]ecomended
[W]hynot
[A]ll (Not Recomended For Testing Purpose)
[C]ancel
Enter your choice and press [Enter]: RTest it :
vim -u ~/.vimnew/.vimrc
:scriptnamesLink new installation :
ln -s ~/.vimnew ~/.vim
ln -s ~/.vimnew/.vimrc ~/.vimrcManage plugins
You can manage plugins easily w/ apthogen script :
./apthogen
Usage : ./aptogen {install|remove|enable|disable|update|upgrade|list|search|show}Add
Add new plugin in list of availlable plugins and download it into bundle-availlable
./aptogen add <url_of_git_repository>Install
Install plugin from plugins list into bundle-availlable
./aptogen install <module_name>Remove
Disable plugin and remove it from bundle-availlable
./aptogen remove <module_name>Enable
Link module from bundle-avallable to bundle to activate it
./aptogen enable <module_name>Disable
Unlink module from bundle to deactivate it
./aptogen disable <module_name>Update
Update module list w/ module or all availlable modules
./apthogen update <module_name>Upgrade
Update module or all availlable modules from github
./apthogen enable <module_name>List
List all indexed modules
./apthogen listSearch
Search a pattern in module list
./apthogen search <pattern>Show
Show informations about modules, act like 'apthogen help' if no argument
./apthogen show <pattern|module_name|url_git_repository>Help
This page
./apthogen helpImport
Install and enable modules from modules list (used for installation purpose)
./module importList of vim modules used w/ netinstall :
Required :
Minimal
- https://github.com/tpope/vim-sensible
- https://github.com/shemerey/vim-project
- https://github.com/nvie/vim-togglemouse
- https://github.com/Shougo/vimproc.vim
- https://github.com/Shougo/vimshell.vim
- https://github.com/Raimondi/delimitMate
- https://github.com/airblade/vim-rooter
Highly Recomended :
Ensure Minimal Modules are installed
- https://github.com/tpope/vim-eunuch
- https://github.com/tpope/vim-fugitive
- https://github.com/bling/vim-airline
- https://github.com/mhinz/vim-signify
- https://github.com/scrooloose/nerdtree
- https://github.com/scrooloose/syntastic
- https://github.com/motemen/git-vim
- https://github.com/mricon/puppet-eyes
- https://github.com/majutsushi/tagbar
- https://github.com/vim-scripts/taglist.vim
- https://github.com/vim-scripts/TaskList.vim
Recomended :
Ensure Highly Recomended Modules are installed
- https://github.com/tmatilai/gitolite.vim
- https://github.com/puppetlabs/puppet-syntax-vim
- https://github.com/shawncplus/phpcomplete.vim
- https://github.com/klen/python-mode
- https://github.com/jmcantrell/vim-virtualenv
- https://github.com/vim-perl/vim-perl
- https://github.com/vim-ruby/vim-ruby
- https://github.com/empanda/vim-varnish
- https://github.com/othree/html5.vim
Why Not ?
Ensure Recomended Modules are installed