On Thursday 08 October 2009, WL wrote: > Hi, > > I keep a monthly ToDo list file in the format of: > > date: > -> item1 > --> subitem11 > --> subitem21 > --->subsubitem211 > ... > > example: > 08/09: > -> Post to vim_use > --> Fold question > > -> Read 200 lines of debug logs of recent application crash: > [200 lines of logs] > > -> Do something else > > 09/09 > ... > > I would like to apply the most simple directive to fold all the file > so that each item (->) would be closed. > I tried to play a bit with foldmarker but the results were not what I > expected. For example I tried: > set foldmethod=marker foldmarker=->,-> > > I would appreciate any tips you may have. > > Thanks, > Yosi > The checkboxes plugin for Vim Outliner can do what you want. The foldmethod=indent doesn't fold the way you need.
Noel -- ------------------------------------------------------------------ Noel Henson www.noels-lab.com Chips, firmware and embedded systems www.vimoutliner.org Work fast. Think well. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
