|
From: | Thierry Volpiatto |
Subject: | Re: [PATCH] newcomment.el (comment-line): New command. |
Date: | Mon, 02 Feb 2015 08:01:00 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4.51 (gnu/linux) |
Artur Malabarba <address@hidden> writes: > I'd like something repeatable, like C-; or C-M-; but I'm also > receptive of Drew's suggestion of C-x C-; In helm we have a macro that allow binding a key like this: (helm-define-key-with-subkeys global-map (kbd "C-c M-;") ?\; #'comment-line) This allow hitting `C-c M-;' on your first line and then hitting only `;' to call the same command. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997
[Prev in Thread] | Current Thread | [Next in Thread] |