https://github.com/robertbasic/snipbar
A Vim plugin to show all the UltiSnips (https://github.com/SirVer/ultisnips) snippets in a scratch buffer.
https://github.com/robertbasic/snipbar
ultisnip-snippets ultisnips vim vim-plugin vim-plugins
Last synced: 29 days ago
JSON representation
A Vim plugin to show all the UltiSnips (https://github.com/SirVer/ultisnips) snippets in a scratch buffer.
- Host: GitHub
- URL: https://github.com/robertbasic/snipbar
- Owner: robertbasic
- License: mit
- Created: 2017-02-11T19:11:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-12T09:09:05.000Z (over 8 years ago)
- Last Synced: 2025-09-01T07:02:45.042Z (about 1 month ago)
- Topics: ultisnip-snippets, ultisnips, vim, vim-plugin, vim-plugins
- Language: Vim script
- Size: 1.95 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# snipbar
A Vim plugin to show all the [UltiSnips](https://github.com/SirVer/ultisnips) snippets in a scratch buffer.
# Usage
Just call `:SnipBar` and it will open a scratch buffer to the right, 40 columns width, with all the snippets that are available for the current file.
Uses `UltiSnips#SnippetsInCurrentScope` to get the list of snippets.
Call `:SnipBar` again to close it.
Map it for even easier access, something like:
``` vim
nnoremap :SnipBar
```# Why?
I don't know all the snippets I have available, so I wrote this small plugin to have a list of them always open.
Yes, I know I can also get the same list by doing `` in insert mode.
# Installation
Using [vim-plug](https://github.com/junegunn/vim-plug):
`Plug 'robertbasic/snipbar'`
# Configuration
There is nothing to configure.