-----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?

Johnathon


- --
Blog: http://kirrus.co.uk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIqaAU81bUwCB/xdgRAmDVAJ4oOqTPsaPBtUesRSuWsCOJwjHU5QCg31Jf
OMEgENYwm0bIyBH7pyw27FI=
=+hXg
-----END PGP SIGNATURE-----

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/

Reply via email to