Saturday, June 4, 2011

Re: Folding

On Jun 4, 2011, at 3:27 AM, Gary Johnson wrote:

>> On 2011-06-03, Eric Weir wrote:
>>
>> I want to eliminate the
>> number of lines and keep the text from the first line of the fold.
>> And I have absolutely no idea how to go about revising the code to
>> make it do what I want.
>
> The example at the top of ":help fold-foldtext" does that. (The
> line beginning ":set foldtext=v:folddashes...") Try that and see if
> it does what you want.

Thanks, Gary. Comes close. I still get a report of the number of lines in the fold.

I just plunked the line as is from the help screen into my .vimrc, but I can't read it, and don't see how to modify it to get rid of the number of lines report.

Is there a way to do that?

------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA USA
eeweir@bellsouth.net


--
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: