I was like, "No way!", and Erik Westra <
ewe...@gmail.com> was all:
> I have a much simpler solution for vim which works great for me...
> I've added the following to my _vimrc file:
> map <C-Down> ddp
> map <C-Up> dd<Up>P
>
> I then type out my To-Do lists, with one line of text per item. With
> the above keyboard mappings, I can then simply move an item higher up
> in the list by placing the cursor on that item and pressing control
> up-arrow, and likewise can move an item down the list by pressing
> control down-arrow.
Good one! If you do same with "imap" and it will work while in
insert mode, as well.
> I find that this, together with putting a "+" at the front of each
> item as I finish it (and then deleting old items every now and then),
> gives me all the flexibility and power I need for maintaining quite
> complicated To-Do lists in vim. No need for extra software, and it
> works so well that, like Quicksilver, the tool just fades into the
> background and lets me focus entirely on the task at hand: ie,
> maintaining the To-Do list.
Also, if you put other symbols at the front of the line (such as
a number or quantity of *s proportional to priority, or a particular
"context:"), you can just pipe the list (or particular section of it)
through sort:
:%!sort
to automatically re-sort it. This can be remapped to a keystroke,
as well.
hope this is useful,
sckot
--
"I DISPENSE A SOOTHING THROAT LOZENGE!" -Pokey the Penguin