sponsor Vim development Vim logo Vim Book Ad

SnipMgr : A simple snippets manager for 'snipMate' Vim plugin

 script karma  Rating 0/0, Downloaded by 1092  Comments, bugs, improvements  Vim wiki

created by
Tamir Lavi
 
script type
utility
 
description
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
 
install details
Before installing SnipMgr you must install snipMate (vimscript #2540)

When snipMate insatlled, download the snipmgr-x.x.zip and unzip it into your runtimepath directory.
After snipMate is installed, download snipmgr-x.x.zip and unzip it into your
runtimepath directory.

You should place the files as follows:
>
    <your_runtimepath>/plugin/snipmgr.vim
    <your_runtimepath>/doc/snipmgr.txt
<
For eay uninstallation, put the files into a new directory and just add the
directory path to the rtp variable into your .vimrc:
>
    :set rtp+=<new_directory_path>
<

Then update your help tag files using the :helptags command:
>
    :helptags $VIMRUNTIME/doc
<
or (if you install the plugin into the <new_directory_path>)
>
    :helptags <new_directory_path>/doc
<
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
snipmgr-1.2.zip 1.2 2011-09-04 7.0 Tamir Lavi - Fixed: updating snippets list after deleting.
- Fixed: redundant message when adding one-string snippet.
snipmgr-1.1.zip 1.1 2011-07-21 7.0 Tamir Lavi Initial upload
ip used for rating: 216.73.216.107

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github