Rofi userscript to manage local copies of your gists created by gister.
I like using Dash to manage code snippets on OSX. Lepton does a good job with managing the snippets, but accessing them leaves something to be desired when compared with Dash's expansion functionality. I also like using Rofi for a variety of quick tasks, so I wrote this userscript.
Install the rofi-gister-git
package from the Arch User Repository.
Prior to your first use, use gister to create a local copy of your repository (default location is ~/.gists
)
Optionally, create a file called .rofi-gister
in your home directory, following the format and keys in the example configuration file in this repository (currently only the path to your gists, and the path to your gister
script).
Launch the userscript somehow (bind a key to it, launch it from rofi, etc.)
You can search the gist names and descriptions from the rofi window itself, or press Alt
+S
to execute a search of the snippet contents.
You can also refresh your local gists with Alt
+R
.