Hacker News new | ask | show | jobs
by candyman 1088 days ago
This is an interesting way to do this. I've been using Sublime lately and it's been okay but I need some organization. Does this allow something like "diary [name] [text] where you can add text to any diary with that name and if there is none it creates a new one? I will look at this in more detail next weekend when I am off from work.
1 comments

this is basically exactly what it does.

It looks through the folder (i.e. year/month/date.md) and try to find whether today's diary exist. If it does exist it just opens it, otherwise it creates it.

The script actually accept other terminal editors if you edit a single line in the package. I imagine it will be easy to change to use sublime as well.