Ⅰ. 插件描述
Official Mirror of UltiSnips trunk on LaunchPad. Send pull requests to SirVer/ultisnips!Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'guns/ultisnips-treacherous'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'guns/ultisnips-treacherous'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'guns/ultisnips-treacherous'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/guns/ultisnips
Ⅳ. 文档说明
UltiSnips
This is the official repository for UltiSnips on GitHub. It is held in sync
with the official bzr repository over at Launchpad [1] and is meant as a
convenience for contributors. Send Pull request to this repository, not
the automatic clone from vim-scripts.
Note that we do not use the Issue tracker here on GitHub because the one on
Launchpad is superior and already has a significant history. Please reportissues over there_.
[1] http://launchpad.net/ultisnips
.. _issues over there: https://bugs.launchpad.net/ultisnips
Screencasts
The blog posts of the screencasts contain more advanced examples of the things
discussed in the video.
Episode 1: What are snippets and do I need them?__Episode 2: Creating Basic Snippets__Episode 3: What's new in version 2.0__Episode 4: Python Interpolation__
__ http://www.sirver.net/blog/2011/12/30/first-episode-of-ultisnips-screencast/
__ http://www.sirver.net/blog/2012/01/08/second-episode-of-ultisnips-screencast/
__ http://www.sirver.net/blog/2012/02/05/third-episode-of-ultisnips-screencast/
__ http://www.sirver.net/blog/2012/03/31/fourth-episode-of-ultisnips-screencast/