NavigationtagsRecent comments
User login |
Snip: a dead-simple but quite powerful text expander and moreInspired by Snippy and snippits, I wrote a simple tool called snip. It works like this: you bind a key (in your WM or with xbindkeys) to launch `snip` with the `load` or `save` argument.
While comparable to snippits, I find it better because it presents the options with dmenu (you don't need to type the name on the beforehand manually), it uses the xdg basedir spec and since it uses several great, tried & proven existing utilities, it does its job in less then 50 lines of shellscript. I wrote some some example snips which demonstrate entering static chunks of text, using xdotool for automating keypresses, aspell for automatic spell checking (and word replacing), inserting url's from your uzbl bookmarks/history, and some dynamic output based on current time, $USER and zenity input. Trackback URL for this post:http://dieter.plaetinck.be/trackback/74
Submitted by Dieter_be on Mon, 09/14/2009 - 20:22. categories [ ]
|
Congrats , good article.
Congrats , good article.
Post new comment