Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Using Vim to simple ToDo lists
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jonathan Ploudre  
View profile  
 More options Mar 21 2005, 9:43 am
From: Jonathan Ploudre <jplou...@gmail.com>
Date: Mon, 21 Mar 2005 06:43:24 -0800
Local: Mon, Mar 21 2005 9:43 am
Subject: Using Vim to simple ToDo lists
For all the unix gurus out there, this will seem really basic. But
here's a few steps for newbie vim users that shows a little vim power.

1. Add this to you .vimrc file to enable incremental searching and
highlighting of search results:

:set incsearch
:set hlsearch

2. Open up your todo.txt that has, say, [ ] to indicate an undone item.

3. Search for an undone item in the command mode

/[ ] (then hit return to finish the search)

4. Notice how all your undone items are highlighted.

5. You can navigate to the next search result with "n" or previous
result with "N"

6. Go to one you want to change and finish it off. Say, edit it into
[x]. Now you can still go to the command mode with <esc> and use n/N
to move around to next/prevous search results.

7. Here's magic. Once you get to another you want to change type a dot
"." to repeat the same editing. Now you can quickly change a bunch of
items by typing n to get there and . to change it.

--
Jonathan Ploudre


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
J.Shell  
View profile  
 More options Mar 21 2005, 10:05 am
From: "J.Shell" <eucci.gr...@gmail.com>
Date: Mon, 21 Mar 2005 07:05:49 -0800
Local: Mon, Mar 21 2005 10:05 am
Subject: Re: Using Vim to simple ToDo lists
There's a todo add-on for the VimOutliner. It gives some extra key
commands for marking done/undone. I only used it briefly when
evaluating VimOutliner a long time ago (I decided to stick to using
desktop OS X apps), but it seemed decent enough.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kyle Maxwell  
View profile  
 More options Mar 21 2005, 12:14 pm
From: "Kyle Maxwell" <krmaxw...@gmail.com>
Date: Mon, 21 Mar 2005 09:14:54 -0800
Local: Mon, Mar 21 2005 12:14 pm
Subject: Re: Using Vim to simple ToDo lists
If this is interesting to you, check out http://vimoutliner.org/ with
the checkboxes plugin.

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Erik Westra  
View profile  
 More options Mar 21 2005, 3:38 pm
From: Erik Westra <ewes...@gmail.com>
Date: Tue, 22 Mar 2005 08:38:38 +1200
Local: Mon, Mar 21 2005 3:38 pm
Subject: Re: [43F Group] Re: Using Vim to simple ToDo lists
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.

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.

Cheers,

 - Erik.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mattkeller  
View profile  
 More options Mar 21 2005, 5:29 pm
From: "mattkeller" <mattkel...@gmail.com>
Date: Mon, 21 Mar 2005 22:29:38 -0000
Local: Mon, Mar 21 2005 5:29 pm
Subject: Re: Using Vim to simple ToDo lists
I was already a vimoutliner user before I started GTD, and I'm
continuing to use it.  It works really nice with the  checkbox plugin.
I keep a general TODO.otl list for my single-action items, and a
separate <project_name>.proj.otl file per project.  The project files
consist mostly of general notes and plans about each project -- but
each Next Action within the project is marked with the "[_]" open
checkbox.  To review my total list of next actions, I have a simple
shell-script that greps my project files for "[_]" and also lists my
TODO.otl.

Anybody else doing something similar? Suggestions?

Matt


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sckot  
View profile  
 More options Mar 22 2005, 7:32 pm
From: sckot <sc...@onigami.net>
Date: Tue, 22 Mar 2005 19:32:36 -0500
Local: Tues, Mar 22 2005 7:32 pm
Subject: Re: [43F Group] Re: Using Vim to simple ToDo lists
I was like, "No way!", and Erik Westra <ewes...@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


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google