SnipMgr


Ⅰ. 插件描述

A simple snippets manager for 'snipMate' Vim plugin

Ⅱ. 基本信息

创建日期:  2011-07-21
使用用户:  1
Github星:  7
插件作者:  Tamir Lavi

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'tlavi/snipmgr'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'tlavi/snipmgr'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'tlavi/snipmgr'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/tlavi/snipmgr

Ⅳ. 文档说明

SnipMgr provides a simple "SnipMgr" menu tree that allows you to easily
manage your snipMate snippets.  In addition, you can use the :SnipAdd,
:SnipRemove and :SnipUpdate commands or the <leader>ssa, <leader>ssr,
and <leader>ssu key bindings.

USAGE:

Adding snippets
Just select any strings in visual-mode, Select-mode or visual-block
mode and call the :SnipAdd command by using the SnipMgr menu, command line,
or default key binding <leader>ssa.

Removing snippets
For removing already existing snippets use the :SnipRemove command or
<leader>ssr key binding.

Updating the snippets list
If you manually add any snippets for the current filetype, you can call the
:SnipUpdate command and use these snippets instantly without restarting
Vim. Default key binding: <leader>ssu.

REPOSITORY:
https://github.com/tlavi/SnipMgr

添加新评论