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
  • Comment on Re^2: Adding '#' in the beginning of each line

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!