Newsgroups: comp.emacs
From: Dan Espen <des...@verizon.net>
Date: Tue, 17 Jan 2012 21:48:16 -0500
Local: Tues, Jan 17 2012 9:48 pm
Subject: Re: emacs efficiency tip: keyboard shortcuts!
Xah Lee <xah...@gmail.com> writes:
Good stuff.
> in emacs, once you got on the train and know all the basic concepts, > there's 1 most important aspect of increasing efficiency. That is, > keyboard shorts (keybindings). I looked around and I didn't see a binding for "repeat-complex-command".
<again>, <redo>, C-x M-:, C-x M-ESC.
It's been a long time since I've had an "again" key on my keyboard and
So, pick a key, any key, but you really want a single key assigned to
So I use xmodmap to create an F19 key and assign it to the "extra"
(define-key global-map [(f19)] 'repeat-complex-command);; Again Key
So, the Page Up key brings up the last "complex" command.
I find myself using this a lot.
I find this second binding on the same key logical:
(define-key global-map [(S-f19)] 'call-last-kbd-macro);; Shifted Again Key
Same key, but start out holding down shift and you can re-execute that
-- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||