Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

There is a cool vim script:

I found the script today. This script is what I want exactly.

It works well with gvim 7.2. (Both of Windows and Linux)
But I wish I can use it on linux shell too. Unfortunately it doesn't work.

Is it possible? Or is there another script we can use.


share|improve this question
I've found the alternative script. – Benjamin Jun 1 '10 at 7:29
Oops, I found another script. I think this is better one. – Benjamin Jun 1 '10 at 8:50
@Benjamin: where do you put your downloaded scripts? – akira Jun 1 '10 at 11:03
@akira Linux, ~/.vim/plugin. Windows, C:\Program Files\Vim\vimfiles\plugin – Benjamin Jun 1 '10 at 15:09
@Benjamin: If you found something that answers your question, you can post it as an answer and accept it so others will have an easier time if they have this same issue. – Wuffers Jan 25 '11 at 2:46
up vote 4 down vote accepted

I found the script.

You can download the script at here.

Just \m on the word you want to highlight.
You could select visual block then \m
And you could add more colors.

enter image description here

share|improve this answer

put the plugins under %USERPROFILE%\vimfiles. maybe put the unixish .vimrc to %USERPROFILE%\_vimrc.

share|improve this answer
Is the path important? I can't understand why do you recommend the path. Please explain more about that. – Benjamin Jun 2 '10 at 13:31
"Linux, ~/.vim/plugin. Windows, C:\Program Files\Vim\vimfiles\plugin" ... the path i mentioned is the windows equivalent for the linux one. on linux you put the files in your home, on windows you work on the global folders? bad bad bad behavior. – akira Oct 3 '10 at 8:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .