Friday, April 1, 2011

Re: How to use color to search

On Mar 11, 9:49 am, "lucentjames" <lucentja...@gmail.com> wrote:
> Hi, All
>
> I am new to vim. Part of my job is to search a lot of key word from very large LOG files. I am sure I can use vim do it but do not know how.
>
> What I need to do is have some list of keyword group (keyword that have special chararters eg / . ? [ ])and use VIM to mark to different color.
>
> I worked for servial hours still can't get it work. Anybody can help?
>

Or this alternate approach, if you prefer. Instead of marking the
lines of interest with special colors, why not fold away all lines so
that only the lines of interest are visible?

http://vim.wikia.com/wiki/Fold_regular_expression

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

Post a Comment