You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2020. It is now read-only.
NOTE This repository is archived and read-only. This fork of vim-minisnip was meant to be for simple bug fixes while retaining the simplicity of the original. I do not wish to add features to vim-minisnip (in fact, I want to remove some).
This fork has the following (backwards compatible) fixes/improvements:
Minisnip allows you to quickly insert "templates" into
files. Among all the other snippet plugins out there, the primary goal of
minisnip is to be as minimal and lightweight as possible.
To get started with minisnip, create a directory called ~/.vim/minisnip.
Then placing a file called foo inside of it will create the foo snippet,
which you can access by typing foo<Tab> in insert mode.
Filetype-aware snippets are also available. For example, a file called
_java_main will create a main snippet only when filetype=java, allowing
you to add ex. a _c_main snippet and so on.
Here is a demo of the basic features of minisnip:
Here is another example that shows how arbitrary code can be executed from
within a snippet, allowing dynamic snippets based on the file name or other
conditions:
View the docs to learn the snippet syntax and options.