https://github.com/hauleth/usnip.vim
Minimal snippets manager for (Neo)Vim
https://github.com/hauleth/usnip.vim
snippets snippets-manager vim vim-plugin
Last synced: 9 months ago
JSON representation
Minimal snippets manager for (Neo)Vim
- Host: GitHub
- URL: https://github.com/hauleth/usnip.vim
- Owner: hauleth
- License: mit
- Created: 2017-12-26T16:16:36.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-16T13:45:09.000Z (almost 8 years ago)
- Last Synced: 2025-02-10T07:43:21.946Z (11 months ago)
- Topics: snippets, snippets-manager, vim, vim-plugin
- Language: Vim script
- Homepage:
- Size: 5.86 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# μSnip
Minimalistic snippet management for Vim.
## Installation
Check your favourite plugin manager or `:h pack-add` if you do not use any.
## Usage
This plugin uses `:h compl-function` to expand snippets. This also requires it
to attach to `CompleteDone` auto command which has some changes in default
behaviour:
- All completions that contain `NUL` will have that characters replaced with new
line. If it is a problem for you, then I feel truly sorry, but you need help.
- Expansion syntax (`{{++}}` by default, for now) will be used in all your
completions. On the one hand this is a pro, on the other it can be con. If
that bothers you, then there is a lot of other snippets plugins. Feel free to
chose any of them.
Oh, and this currently remaps `` in insert mode in the way that it doesn't
work anymore. I will try to fix it soon, but for now you should change to use
`i_CTRL-T` and `i_CTRL-D` instead.
## Special thanks
- [@KeyboardFire](https://github.com/KeyboardFire)
- Martin Tournoij [@Carpetsmoker](https://github.com/Carpetsmoker)
- Joe Reynolds [@joereynolds](https://github.com/joereynolds)
And other authors of [vim-minisnip][minisnip]. This is greatly based on their
tremendous work.
[minisnip]: https://github.com/joereynolds/vim-minisnip "Mnisnip"