On 2012-04-02, Paul wrote: > 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?
Try Yakov Lerner's PP.vim script, http://vim.wikia.com/wiki/VimTip1141. Use it like this: :g/pattern/PP Works great. Regards, Gary -- 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
