Snip is simple script that uses fzf to make it easy to search through your snippet files. Once you select the snippet file it will either:
- by default copy the snippet into your clipboard
- if called with the
-c
flag - copy the snippet file (or directory) to your present location
Set $SNIPPETS
environment variable to point at your snippets directory.
Make sure snip script is on your $PATH
.
Optional:
- pygmentize (recommended)
Or: