A built-in diary

Since I’m mentioning small, built-in bonuses to some established programs, I have another I can point out.

A few months ago I wrote about Ben Winston‘s tiny journal tool, aptly called jn.

I discovered the other day that Vimwiki has a built-in function that’s not far off from that.

Entering \w\w from vim’s control mode drops you straightaway to a diary page prenamed for today’s date.

Diary entries are kept in a subfolder inside your wiki data folder, and have their own index page, which looks sort of like this.

= Diary =
| [[2011-04-11]] | [[2011-04-10]] | [[2011-04-09]] | [[2011-04-08]] |

The table grows from left to right, meaning your newest entry is always on the left. Rather convenient, really. ;)

About these ads

11 Responses to “A built-in diary”

  1. 1 Ben Winston 2011/04/12 at 2:52 PM

    very nice! i have vimwiki installed, but haven’t gotten a chance to use it yet (or maybe haven’t found a good use…i can’t decide) to think this functionality was there the whole time! :)

  2. 2 aperson 2011/04/12 at 11:00 PM

    I just have a script that opens up nano for the days entry, than when I close that, it adds that to the single diary file (with proper dates and formatting).

  3. 3 Luca 2011/04/13 at 7:24 PM

    Nice! Do you have solutions for automatically syncing the wiki up between different machines?

    • 4 Ben Winston 2011/04/13 at 9:15 PM

      Best way I can think of: Dropbox. I have all my dot-files symlinked on machines pointing to a version on Dropbox, so they’re always up to date and the same on every machine!

      • 5 Chubby Checker 2011/04/14 at 1:49 AM

        Do you use the same versions of applications across all the systems/distributions/users you use that for?

        I can’t see me doing what you said above because of trying to keep my systems clean. Like I’d never dual boot using the same /home partition or something of that kind…

        • 6 Ben Winston 2011/04/14 at 2:07 AM

          well, no, good point :). however, this still works well for something like bashrc or vimrc, so you can have the same aliases and vim environment on each computer.

  4. 7 Chubby Checker 2011/04/14 at 4:20 AM

    Sure. using dotfiles.org or e.g. a github repository is pretty common for manually managed rc files…

  5. 10 Kaleb 2011/04/14 at 5:22 AM

    I had been using using vim calendar’s diary feature. I’ll have to check this out.

  6. 11 Cian 2011/04/14 at 5:37 PM

    org-mode on emacs does this…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Visit the Wiki!

Some recent desktops

May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF

May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games

Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers


This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,963,425 hits



Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: