Saturday, May 21, 2011

Re: Hide comments without remove?

On 05/21/2011 03:20 PM, Antonio Recio wrote:
> Sometimes I have to read a file with a lot of comments, and I would like
> to "*hide*" these comments to read more easily the code. Is there any
> way to hide all the comments, for example in c++, but without remove them.
>
I guess you are looking for folds:

:help folds
:help usr_28.txt

Jeroen

--
website: http://budts.be/ - twitter: @teranex
___________________________________
Registered Linux User #482240 - GetFirefox.com - ubuntu.com

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