I was looking at a log file and needed to highlight multiple search items to make the logs more readable. I got into multiple threads suggesting various cryptic vim commands but I was in no mood to remember them. So, I finally hit this.
This is a cool vim script which you can use to highlight multiple search patter. You can simply add a search term by doing
earch <pattern>
By default it is configured to have four colors but you can change that. Also when you want to reset the search you can simply do:
earchReset
Related articles by Zemanta
- Text Edior (wknight8111.blogspot.com)
- VIM video tutorial (slumpedoverkeyboarddead.com)
| Hot: |
You are welcome to my blog. Please feel free to share your Good or Bad experiences with me through comment or through email.
related post
Facebook comments:
1 Comment »
RSS feed for comments on this post. TrackBack URL

















![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=47b68779-3396-426c-9b94-21da708a3b5a)








[...] This post was mentioned on Twitter by Amit Agarwal, Amit Agarwal. Amit Agarwal said: I just post Multiple search in vim on http://ping.fm/LlNd2 [...]
[Translate]