[geeks] Glad I don't live in Texas!

alex j avriette avriettea at speakeasy.net
Thu Jun 13 13:05:16 CDT 2002


> Very cool.  Till now I've taken note of the first line number (say it's 
> 29)
> gone to the end of where I want to do the substitution and type:
>
> :29,.s/^/# /
>
> Now I realize I don't have to know the line numbers =)

and knowing line numbers is easy with

:set number

alex



More information about the geeks mailing list