[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Uncomment keybinding
From: |
Jon Kåre Hellan |
Subject: |
Re: Uncomment keybinding |
Date: |
15 Jan 2003 21:16:25 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Kevin Breit <mrproper@ximian.com> writes:
> Hey,
> How do I setup a keybinding in emacs 21.2 to uncomment a selection?
>
> Thanks!
E.g.
(global-set-key [(control ?c) ?c ] 'comment-region)
This binds Ctl-c c to the command 'comment-region'. Ctl-u Ctl-c c will
uncomment.
Good luck
JK