Skip to content

snipMate.vim aims to be a concise vim script that implements some of TextMate's snippets features in Vim.

Notifications You must be signed in to change notification settings

jsholmes/vim-snipmate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snipmate.vim

Author: Michael Sanders
Maintainer:Rok Garbas
Homepage:https://www.vim.org/scripts/script.php?script_id=2540
Contributors:MarcWeber, lilydjwg, henrik, steveno, asymmetric, jherdman, ironcamel, honza, jb55, robhudson, kozo2, MicahElliott, darkwise, redpill, thisgeek, sickill, pose, marutanm, r00k, jbernard, holizz, muffinresearch, statik, Eustaquio Rangel, alderz, pielgrzym
After several unsuccessful attempts of contacting Michael Sanders, no
commits in last half year and long pull request line on github (none of
pull requests were commented/replied/rejected) I decided to take action,
step up and bring some love to this widely used plugin.

But nothing to worry about. We all get busy, accupied with our daily work
or just lose interest in doing boring maintainance.

While reviewing pull requests on github.com/msanders I found lots of great
improvements and I decided to **friendly** fork it, review and apply patches
that were sent, notify all the patch submitters and decided to maintain
snipmate.vim from now on. Of course if somebody wants to
help, please do not hesitate to write me, I am open to any suggestions.

Maybe I will only maintain it for a while until Michael Sanders takes things
back into his hand or until some other super-hero shows up.

Tnx and happy snipmating, Rok Garbas, 2011-02-02
  • Adding general snippets to css.snippets and htmldjango.snippets [2011-06-10, pielgrzym]

  • Adding css.snippets from tisho (https://github.com/tisho/css-snippets-snipmate) [2011-04-17, garbas]

  • Lots of updates to snippets.

  • Made the trigger key configurable, garbas#4. [2011-04-13, thenoseman]

  • Handle single-line or multiline snippets. [2011-03-22, johnbintz]

  • If there is only one snippet choose it directly. [2011-03-16, blueyed]

  • Add snippets file for "diff" filetype and add bang to function definitons, allowing for reload. [2011-03-06, blueyed]

  • Update snipmate to handle latest supertab version. [2011-02-09, ervandew]

  • Updated README: added contributors, instructions how to install snipMate, some spellchecking of my wonderfull english, added this Changelog [2011-02-07, garbas]

  • Fixed bug: When leaving a placeholder unchanged and trying to jump to the next placeholder, the text of the first placeholder would get cleared. [2011-06-16, jgosmann]

  • From below mentioned merges I must specially mention MarcWeber's patch which brought quite a few functionalities/improvements:

    • snippets are loaded lazily.
    • snippets are no longer cached. Thus you always get the snippets you just wrote to a file without reloading anything.
    • When visually selecting a snippet in a .snippets file you can press <cr> to replace spaces by tabs automatically in a smart way.

    Big +1 to MarcWeber for