Quoting Johnathon Tinsley <[EMAIL PROTECTED]>: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > > We sometimes need to quickly comment out a, for example, vhost config in > vi. Now, I've worked out that you can add the first comment #, ESC and > then hit DOWN, FULL-STOP, DOWN, FULL-STOP etc to quickly comment out > multiple lines. > > But, what I'd love, is a way I can type say 11 <command> and get it to > turn 11 lines into a comment. > > Does anyone know of a nice way to do that in vim?
CTRL-v (number), DOWN ARROW, SHIFT-i, #, ESC, DOWN ARROW works for me... M. -- Matthew Macdonald-Wallace [EMAIL PROTECTED] http://www.truthisfreedom.org.uk/ -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/