Monday, March 1, 2010

Fold according to keyword before fold mark?

Hi all,

Can anybody imagine a solution for this: I use a simple text file as
my personal task planner. A line may contain a date, then a task
(short title) which in turn has fold marks (simply {,} here) around
the following lines describing the task. I wonder if I could configure
vim to fold (hide) everything except for the "Task1" folds.
Respectively, to fold everything but the "Task2" folds and so on.

This is the structure I use:

02/01/2010
Task1{
...
}
Task2{
...
}

02/02/2010
Task1{ // again the same Task1 continued
...
}
Task3{
...
}

Thank You
Felix

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: