11 points · by victorhooi · 12y ago · 23 comments
My two killer features are:
* Easy keyboard shortcuts for quickly inserting snippets * Some way to backup and share snippets between my computers
I found two that are based around Github's Gist service, which would make backups/sharing very easy: * http://www.gistoapp.com/ * http://www.gistboxapp.com/ Gistbox is a online web-app, and Gisto is a pretty simple OSX app - however, neither seem to offer easy shortcuts for inserting snippets.
On the OSX native front, there's Dash, which has shortcuts for inserting - however, you can't use Gists as your backing store for snippets. (Although you could store your library file on Dropbox).
There are also quite a few other paid snippet managers for OSX, but I'm curious what people's experiences with them have been?
Do you have any personal favourites?
1. an OS X app
2. one settable global hot-key to save your currently selected text as a snippet
3. one settable global hot-key to show a list of all your saved snippets, to select one, which will be inserted into the otherwise-currently-selected text box (i.e. much like the "paste" command)
4. must be saved in and loaded from Github Gists, rather than Dropbox
Are these correct? Am I missing anything?
Also, I have the following questions:
1. Should snippets have names (for searching them easily)? Or should it just be a list of unnamed snippets that you select from?
2. How should snippets be selected when you want to paste it? Should (a) there be one hot-key to bring up a window which lets you select which one to paste, or (b) should they each have their own hot-key (probably numbered, limits to a small number of snippets), or (c) should they be expanded any time you type their abbreviation into any text box, without needing to bring up a window at all?
3. How much are you willing to pay for it? ($0 is an acceptable answer.)
Let me know, and I'll give it a shot. This sounds like a fun small project.
The thing is - obviously I'd prefer it to be open-source (not from a free perspective) but because I believe in OSS, and personally it's kind of neat being able to trawl through the source yourself to see how things were put together.
However, I'd gladly Gittip or donate that amount to a project.
2. Having a different shortcut key for every snippet would probably become unwieldy quite quickly.
Your idea about having a shortcut to popup a window is quite neat - I'd definitely want to have shortcut windows to navigate through and paste the snippets. The problem I see with this is, it breaks up your workflow, and it won't feel instant.
One way I've seen others do it is your (c) - for example, in Dash, each snippet has an abbreviation. If you type that abbreviation in, then press the backtick (`), it will auto-expand it to the snippet.
One thing I noticed about Dash is, sometimes it can seem a bit slow to delete your existing abbreviation, and replace it with the snippet - the author mentioned this is something to do with non-accessibility aps on OSX. (In this case, it was the Chrome Browser). I'm not sure if there's a way around it.
Can you think of any other ways of selecting/pasting a snippet?
However, I'd like something that works in other apps - e.g. Chrome browser, Terminal etc.
Syncing and backup can be done via Dropbox or Git for example.
http://www.shpakovski.com/codebox/
I also have Code Collector Pro, but I prefer CodeBox though.
No program I've found has both.
Lets you sync with iCloud / Dropbox / Google Drive.