A lightweight snippets expander
Latest commit c60952a Sep 14, 2009 @Dieterbe spell checking example
Permalink
Failed to load latest commit information.
examples/snips spell checking example Sep 14, 2009
LICENSE license Sep 12, 2009
Makefile fix for DESTDIR. i mean it this time Sep 12, 2009
README first version Sep 12, 2009
snip first version Sep 12, 2009

README

Snip lessens repetitive typing by automatically entering text ('snips') for you.

* Homepage: http://github.com/Dieterbe/snip/
* License: BSD
* Dependencies: sh, dmenu, xdotool, zenity

Features:

* interactively see/filter snips using dmenu based on filename
* TODO: optionally filter on filename and/or contents
* static snips (use literal contents) and dynamic (execute it and use output)
* doesn't abuse (overwrite) any clipboard/primary/secondary buffer
* implements the XDG basedir spec
* if $DMENU_ARGS is set in the environment, it will be used
* when saving, if text is selected it is used, otherwise it is asked for
  (saving is only useful for static snips. write dynamic snips yourself)

Limitations / todo:
* integration with clipboard. this would mean a separate directory of snips
  who are a bit more volatile.  you'd store a new snip by using a keycombo,
  and either use currently selected text, or fill in a form.
* only ascii suport (xdotool)

HOWTO:
* put your snips in $XDG_DATA_HOME/snip/snips
* see /usr/share/snip/examples/snips for example snips
* the difference between static and dynamic snips is determined by
  the execute permission