First of all, very sorry, I sent this out with the wrong subject line before as it was going to be a different question that I then managed to resolve myself.

Thanks for your reply Theerasak, would folding the comments make any difference though, I thought that Vim searched folded text as well. Also I'm not that sure how to use folds but I have just found section 28.1 of the user manual so will have a read about them.

Thanks,
Rob.

Theerasak Photha wrote:
On 11/1/06, Robert Cussons <[EMAIL PROTECTED]> wrote:

Hi everyone,

In a C programme for example is there a way to get Vim to ignore matches
that are commented out when searching for a string?


With / or ?, no. But you may be able to fold all comments.

Reply via email to