Substitute every beginning of a line with //:

:% substitute ?^?//?g

Thanks to the vim manual hanging off the main vim page. Please do purchase a hard copy - the profits go towards feeding Ugandan orphans.

Regards, Max


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to