> Is there a more productive way of searching/highlighting patterns of text 
> that appear in a file only in non-commented blocks/lines.

The commands at :help include-search do exactly that.

    :ilist foo

will list:

    bar baz foo
    foo bar baz

but not:

    // foo does this

The "d" variants of those commands are particularly useful for programming.

This might need a bit of setup, though, but not much.

FWIW, I wrote http://www.vim.org/scripts/script.php?script_id=5214 to be able 
to use the quickfix list/window with :ilist, :dlist and friends.

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to