[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to change C-x prefix to C-k in a clean way?
From: |
Xah Lee |
Subject: |
how to change C-x prefix to C-k in a clean way? |
Date: |
Fri, 6 Mar 2009 19:27:55 -0800 (PST) |
User-agent: |
G2/1.0 |
is there a way to remap all the C-x key to another, say C-k?
I've been using this
(keyboard-translate ?\C-t ?\C-x)
for over 2 years (on dvorak. Dvorak t is qwerty k.)
However, that does not stop C-x from working, and any keypress of C-k,
regardless if it is the start of combination, will be remapped to C-x.
What i really want is to remap C-x prefix to C-k, as if they are
defined that way. (so that i can map Cut (kill-region) to C-x and not
have to load the complex cua-mode)
besides modifying every elisp file, is it possible to do this as a
wrapper? Perhaps by modifying the global-map entry of C-x?
Xah
∑ http://xahlee.org/
☄