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'?


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?

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --