From: Piers Harding Date: 2006-08-16T15:49:42+09:00 Subject: Re: block commenting-out --tjCHc7DPkfUGtrlw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In vim you could put this in your .vimrc file: map ,# :s/^/#/ mark the block you want to comment and then hit ,# (or whatever else you want to map it to), and its done. Cheers. On Tue, Aug 15, 2006 at 03:42:20PM +0900, Gene Tani wrote: >=20 > newyorkdolluk wrote: > > hi, > > > > can anyone tell me how to bulk comment-out lines of code rather than > > #'ing each line? > > > > thanks >=20 > Komodo can do block commenting out, prepending "#". Scite prepends > "##" so you know that is was done in bulk fashion. Your editor must > hvae something of the sort to block comment and uncomment. >=20 --=20 Home - http://www.piersharding.com xmpp:piers@ompka.net --tjCHc7DPkfUGtrlw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFE4sADGETamPT/o4ARAv/FAJ0S3SAUbVBNNr7+Yq59ucWI7B+oSwCfSv59 c2z7WMAcQdB8S27QHNb0UjY= =cBsC -----END PGP SIGNATURE----- --tjCHc7DPkfUGtrlw--