Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Adding '#' in the beginning of each line

by lidden (Curate)
on Aug 16, 2006 at 19:29 UTC ( [id://567751] : note . print w/replies, xml ) Need Help??


in reply to Re: Adding '#' in the beginning of each line
in thread Adding '#' in the beginning of each line

ctrl-x h # marks the whole buffer
ctrl-x r t # runs the command string-rectangle. Useful when you want to insert something thats not starts a comment

Replies are listed 'Best First'.
Re^3: Adding '#' in the beginning of each line
by aufflick (Deacon) on Aug 17, 2006 at 00:27 UTC
    I've not used the string-rectangle command before - thanks for a great tip in an unexpected place!