sponsor Vim development Vim logo Vim Book Ad

SnippetsMgr : This script helps to work with code snippets.

 script karma  Rating 36/14, Downloaded by 1105    Comments, bugs, improvements  Vim wiki

created by
Christian Habermann
 
script type
utility
 
description
This script helps to work with code snippets. It provides functions to insert, edit, create, delete and rename code snippets.          
Snippets are files that can be loaded into the active buffer (e.g. programmers can easily add a template function header when writing a new function or add often used codes).                  
                                                                  
To invoke the snippets manager, press <leader>sm                  
  Memory aid: sm (s)nippets(m)anager                              
In the current window a list of code snippets will be shown. To copy a snippet into the buffer in which SnippetsMgr was invoked,  move cursor over a snippet and press <enter>. That's it.          
                                                                  
Simple and not very useful code snippets are provided with this script. See them as examples and as starting point to write own ones. Code snippets are very personal. To use them in an efficient way you will have to write your owns.                                        
 
install details
Just copy this script into Vim's plugin directory, for details see Vim help ':help plugin'.                                          
Copy the directory 'snippets' to your vimfiles directory and set the path to it. How to configure see header of script.                        
 

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
SnippetsMgr.zip 1.01.00 2007-01-28 7.0 Christian Habermann Snippets can now be loaded with indentation.
snippetsmgr.zip 1.00.00 2006-10-26 7.0 Christian Habermann Initial upload
ip used for rating: 54.161.155.142

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo