ultisnips-snippets


Ⅰ. 插件描述

Ⅱ. 基本信息

创建日期:  2012-08-16
使用用户:  0
Github星:  0
插件作者:  Giovanni Lanzani

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'gglanzani/ultisnips-snippets-fearless'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'gglanzani/ultisnips-snippets-fearless'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'gglanzani/ultisnips-snippets-fearless'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/gglanzani/ultisnips-snippets

Ⅳ. 文档说明

ultisnips-snippets

These are my snippets, to be used with
Ultisnips. If you are using
pathogen or
vundle you can do the following to use
only these snippets, instead of the ones coming with Ultisnips:

Pathogen

cd .vim
git clone https://github.com/gglanzani/ultisnips-snippets.git bundle/snippets

and then add

let g:UltiSnipsSnippetDirectories=["my_snippets"]

to the bottom of your .vimrc

Vundle

Add to your .vimrc

Bundle 'gglanzani/ultisnips-snippets.git'
let g:UltiSnipsSnippetDirectories=["my_snippets"]

and then launch vim like so

vim +BundleInstall +qall

That should be it.

添加新评论