sean finney on 25 Apr 2011 23:47:42 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] fold output of 'tree' with 'vim'? |
Hi, On Mon, Apr 25, 2011 at 02:28:51PM -0400, Randall A Sindlinger wrote: > just work on an input file. It *seems* like vim should be able to do this > for me by using it's folding feature, but I've not had any luck. One idea: use foldmethod=expr, and make a function that counts the number of /'s to determine the folding level via foldexpr? sean ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug