Ⅰ. 插件描述
UltiSnips support for NeoComplCacheⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'jazzcore/neocomplcache-ultisnips'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'jazzcore/neocomplcache-ultisnips'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'jazzcore/neocomplcache-ultisnips'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/jazzcore/neocomplcache-ultisnips
Ⅳ. 文档说明
NeoComplCache-UltiSnips
Warning: UltiSnips now supports neocomplete snippets completion by default. This should be used only if you're using neocomplcache.
This is a NeoComplCache extension that provides UltiSnips integration. It adds UltiSnips snippets to NeoComplCache completion and properly sets mappings for correct snippet expanding and jumping.
Installation
Use your preferred way to install plugins. For Vundle, add this to .vimrc:
.. code-block:: vim
Bundle 'JazzCore/neocomplcache-ultisnips'
Usage
This plugin loads automatically, so you dont need to set any options.
Mappings for snippet expanding and jumping are set on g:UltiSnipsExpandTrigger key. This means that you can use one key for expanding and jumping but keep in mind that you also can use standard UltiSnips keys, defined by g:UltiSnipsJumpForwardTrigger and g:UltiSnipsJumpBackwardTrigger options.