Saturday, March 29, 2014

how can I configure word highlighting in VIM ?

Hi,

I use vim to write my Ruby code. Say, I wrote a code as below :

foo = 2
def meth(arg)
puts arg
end

meth(foo)

Now suppose, I defined **foo** in the line#4. Now I am calling the method with **foo** as an argument, from line #20. Now suppose I am selecting the word, **foo** using command **viw**. Now I want all `foo` to be highlighted. If this can be done, it would help me in lots of scenarios.

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: