On 07 Jul 2006, at 20:39, Charles E Campbell Jr wrote:
stri ker wrote:
Is there a way to visually highlight multiple non-adjacent lines
at the same time?
For example, highlight lines 1, 4, 7, but no other lines.
Do you want to use ctrl-v, v, or V? With those, the answer is:
(drumroll, please) ... No.
However, if you're talking about :set hls, then
/\%1l\|\%4l\|\%7l
will do the job.
Regards,
Chip Campbell
This is just too cool ;-)
It has inspired me to create an FAQ for VIM!
http://www.rocteur.cc/geeklog/faqman/index.php?op=cat&c=3
--
Jerry Rocteur
_ jerry @ rocteur.cc
_|_|_ IM: [EMAIL PROTECTED]
(0 0) MSN: [EMAIL PROTECTED]
ooO--(_)--Ooo http://www.rocteur.cc
_________________________________________________