Inspired by Snippy and snippits, I wrote a simple tool called snip.
It helps you to automatically fill in text for you (which can be dynamically created) and/or to perform custom keypresses and operations.
::Read from here
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.
I'm sure a lot of people will come up with more cool things :)
posted on Monday, 14 Sep 2009 20:22 - link - tags: foss - path: / - 2 comments
Posted by dywan on Mon Sep 14 15:29:28 2009
Excellent stuff
Posted by zakupy USA on Thu Sep 2 19:10:10 2010
Congrats , good article.