unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Control-C conundrum
@ 2015-06-04  0:17 Tim Johnson
  2015-06-04  0:44 ` John Mastro
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Tim Johnson @ 2015-06-04  0:17 UTC (permalink / raw)
  To: Emacs

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



^ permalink raw reply	[flat|nested] 25+ messages in thread
[parent not found: <mailman.4247.1433377066.904.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2015-06-12 22:34 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-04  0:17 Control-C conundrum Tim Johnson
2015-06-04  0:44 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).