Gene Kwiecinski wrote:

Me, I go to whatever I'm looking for, hit 'v', then use normal motion
commands (eg, "3e") to highlight the text in question, instead of using
the mouse.

If a single word, '*' will automagically highlight and search for the
word under the cursor.

And with

vnoremap * y:exe 'norm! /' . escape(@@, '/*.\[$^~') . "\r"<cr>

in your .vimrc, it works for more than a single word, any stuff up to a
line's worth.

HTH
John

Reply via email to