look this:
help 'foldmethod'
help 'foldmarker'

for example:
/* bla bla bla and bla
   bla next line
*/

to fold this, you can set.
set foldmethod=marker
set foldmarker=/*,*/

2009/2/17 Garrett Whelan <[email protected]>

> Not to be snide, but I would start with
> :help fold.txt
>
> There's more to folding then doing a single command.
>
>
> On Tue, Feb 17, 2009 at 9:27 AM, Rui Carlos Gonçalves <[email protected]
> > wrote:
>
>>
>> Hi,
>>
>> I'd like to know if is it possible automatically fold the lines
>> between the text "\begin{comment}" and "\end{comment}".
>>
>> Best regards,
>> Rui Carlos Gonçalves
>>
>>
>>
>
> >
>


-- 
----------------------------------------------
Roberto Miura Honji
LAS - Laboratório de Administração e Segurança de Sistemas
Engenharia de Computação - 2006
Instituto de Computação - UNICAMP

email: [email protected] (principal)
email: [email protected]
msn:   [email protected]
-------------------------------------------

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to