Ⅰ. 插件描述
Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'atdt/vim-mediawiki'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'atdt/vim-mediawiki'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'atdt/vim-mediawiki'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/atdt/vim-mediawiki
Ⅳ. 文档说明
vim-mediawiki
This repository bundles a set of vim scripts for MediaWiki editing so that they
can be used with a Vim plugin manager such as Pathogen or Vundle. The
scripts were all gathered from Wikipedia:Text editor support and are thus
available under a Creative Commons Attribution-ShareAlike License.
Credit for these scripts belongs to Aepd87, Danny373, [Ingo
Karkat][5] and other contributors. The installation instructions were adapted
from the documentation for Command-T, a Vim plug-in by Wincent Colaiuta.
Installation
If you manage your entire ~/.vim folder using Git then you can add the
vim-mediawiki repository as a submodule:
cd ~/.vim
git submodule add git://github.com/atdt/vim-mediawiki.git bundle/mediawiki
git submodule initOr if you just wish to do a simple clone instead of using submodules:
cd ~/.vim
git clone git://github.com/atdt/vim-mediawiki.git bundle/mediawikiOnce you have a local copy of the repository you can update it at any time
with:
cd ~/.vim/bundle/mediawiki
git pull