- Jan 2, 2003
>On Thursday 02 January 2003 04:08, Payal Rathod wrote:You want one of the following
>> 2. In another file, I have few lines seperated by a single tab. Now I
>> want to delete all the lines ( and NOT just the tab ) which start
>> with a tab. I tried :1,$/^^I/d but managed to delete just one line at
>> a time. Can someone help me on this?
:1,$g/^^I/d note the g(lobal) , Read ":help :g"
:%g/^^I/d % is equivalent to 1,$
:g/^^I/d default range for g is %
- << Previous post in topic