C.G.Senthilkumar. wrote:
How do I find long lines in a large text file? (I want to be able to define long lines arbitrarily. For default, lets say, it is 80 characters.)
"Find" is a little ambiguous, as you'll see with the options below: /\%80c (go to next line having an 80th real-column character) /\%80v (go to next line having an 80th virtual-column character) If you'd also like to highlight entire lines having 80+ characters, then :set hls /^.*\%80c.\+$/ /^.*\%80v.\+$/ :nohls will turn highlighting back off. Regards, Chip Campbell
