Welcome to Rocteur Friday, March 29 2024 @ 04:27 PM CET
How do you highlight multiple non-adjacent lines at the same time?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. __ :set hls, then
/\%1l\|\%4l\|\%7l
will do the job.
Regards, Chip Campbell
FAQ Manager » Vim » How do you highlight multiple non-adjacent lines at the same time?
|