From: Tim Johnson <tim@akwebsoft.com>
To: Emacs <Help-gnu-emacs@gnu.org>
Subject: Control-C conundrum
Date: Wed, 3 Jun 2015 16:17:36 -0800 [thread overview]
Message-ID: <20150604001736.GA1917@mail.akwebsoft.com> (raw)
I've done extensive keybinding based on the recommendations here:
https://www.gnu.org/software/emacs/manual/html_node/elisp/Key-Binding-Conventions.html
What follows is an example of my strategy
;; Leading prefix for all bindings
(defvar tj-leader "C-c " "First keystroke for all keymap prefixes")
;; One example of a prefix command
defvar tj-go-map (make-sparse-keymap) "Navigation")
(define-prefix-command 'tj-go-map)
(global-set-key (kbd (concat tj-leader "g")) 'tj-go-map)
Any number of bindings, all beginning with C-c follow from that
scheme.
This means that I can change bindings so that they begin with
something other than C-c with one code change: the first 'defvar.
Here's my problem :
I have severe arthritis in my thumbs. When I use fingers in my left
hand, bending down to reach the "c" key, I will shortly experience a
lot of pain in the base of my left thumb.
I can easily switch to C-l or C-o as the first keystroke for all
prefix definitions just by redefining 'tj-leader.
I'm aware that major or minor modes may use C-l or C-o, but I don't
have any of the thumb pain when I use either C-l or C-o.
One work-around that I have been considering is add-hook'ing an
alternative binding (say, in place of C-o => C-o C-o) if I use a
mode that remaps C-o.
I'd welcome any comments or suggestions, :) including thumb surgery.
thanks
--
Tim
http://www.akwebsoft.com, http://www.tj49.com
next reply other threads:[~2015-06-04 0:17 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-04 0:17 Tim Johnson [this message]
2015-06-04 0:44 ` Control-C conundrum John Mastro
2015-06-04 0:52 ` Tim Johnson
2015-06-04 13:55 ` William Hatch
2015-06-04 15:47 ` Tim Johnson
2015-06-04 22:12 ` Robert Thorpe
2015-06-04 22:53 ` Tim Johnson
2015-06-05 7:39 ` Eric S Fraga
2015-06-04 4:47 ` Bob Proulx
2015-06-04 11:47 ` Jonathan Groll
2015-06-06 17:45 ` Bob Proulx
2015-06-07 15:15 ` Jude DaShiell
2015-06-04 15:24 ` Tim Johnson
2015-06-04 15:44 ` Tim Johnson
2015-06-06 18:01 ` Bob Proulx
2015-06-11 1:33 ` Tim Johnson
2015-06-11 9:30 ` Haines Brown
2015-06-11 15:31 ` Tim Johnson
2015-06-12 19:25 ` Bob Proulx
2015-06-12 22:34 ` Eric Abrahamsen
[not found] ` <mailman.4776.1433986444.904.help-gnu-emacs@gnu.org>
2015-06-11 18:43 ` Joe Fineman
[not found] ` <mailman.4252.1433393266.904.help-gnu-emacs@gnu.org>
2015-06-07 4:22 ` Rusi
2015-06-07 20:42 ` Robert Thorpe
2015-06-11 1:28 ` Tim Johnson
[not found] <mailman.4247.1433377066.904.help-gnu-emacs@gnu.org>
2015-06-04 3:47 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150604001736.GA1917@mail.akwebsoft.com \
--to=tim@akwebsoft.com \
--cc=Help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.