One Thing Well

A weblog about simple, useful software.

You can follow along on Twitter or via the feed. Don't hesitate to get in touch. Sponsor the site.

A Poor Man’s Notational Velocity

I’m a heavy user of Notational Velocity on the Mac, and Simplenote on the iPhone, but I’m yet to find a note-taker for Linux that matches up.

So, with Notational Velocity set to save notes as text files in a folder that syncs up with Dropbox, I chucked the following function in my shell configuration file:

function n {
nano ~/Dropbox/Notes/$1.txt 
}

function ns {
ls -c ~/Dropbox/Notes | grep $1
}

Okay, it’s not quite on a par with the best note-taking application on the planet, but it does the job—I type n new-note-title, and nano opens a fresh text file with that title; ns blah shows me a reverse-chronolgically sorted list of notes with ‘blah’ in the filename (which I can then open using the n alias).

I’m not exactly a shell scripting whizz, but will have a go at making this a liitle more sophisticated. Watch this space.