snipmate-snippets


Ⅰ. 插件描述

Ⅱ. 基本信息

创建日期:  2014-10-22
使用用户:  3
Github星:  0
插件作者:  Marius

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'emjei/snipmate-snippets-state-of-grace'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'emjei/snipmate-snippets-state-of-grace'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'emjei/snipmate-snippets-state-of-grace'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

IMPORTANT: comment on: What about merging whith Ultisnip using its engine

Snipmate Snippets

This repository contains snippets files for various programming languages.

It was originally written for the the famous snipMate plugin for vim.
However today there are at least 3 plugins which can make use of this snippet repository:

1) snipMate

2) Shougo's neosnippet has a compatible mode allowing
to reuse most snippets.

3) ultisnip (experimental, mind the branch snipmate-merge)
This code is subject to change. Take it as preview. That branch
has additional notes for Snipmate users. at the bottom.
In the long run ultisnip will have its own set of snippets, because it is
more powerful cause it supports nested snippets.

It is community-maintained and many people have contributed snippet files and other
improvements already. Not sure whether it implements all features such as
guards - does anybody know?

vim-snipmate was originally started by Michael Sanders who has now
unfortunately abandoned the project. Rok Garbas is now maintaining a
fork of the project in hopes of improving the existing code base.

Language maintainers

No one can really be proficient in all programming languages. If you would like
to maintain snippets for a language, please get in touch.

Contributing notes

Until further work is done on vim-snipmate, please don't add folding markers
into snippets. vim-snipmate has some comments about how to patch all snippets
on the fly adding those.

Authors

For a list of authors, please see the AUTHORS files.

License

Just as the original snipMate plugin, all the snippets are licensed under the
terms of the MIT license.

添加新评论