Monday, April 2, 2012

Highlighting :g//

Often I'll want to see a list of lines that contain a pattern. I'll do ':g/pattern/', sometimes followed by # if I want the line numbers. Sometimes I'd like to see where in the line the pattern matched, so, is there a way to have the output of :g// highlight the pattern?

--

.

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