Last active
September 28, 2024 01:06
-
-
Save matsuoshi/933ffd57e22dbbe4b199916fc309b4de to your computer and use it in GitHub Desktop.
xremap config (emacs like control-key)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
modmap: | |
- name: modifiers | |
remap: | |
CapsLock: RightCtrl | |
Muhenkan: | |
held: LeftCtrl | |
alone: Muhenkan | |
keymap: | |
- name: Terminal | |
application: | |
only: gnome-terminal-server | |
remap: | |
Ctrl_L-C: Ctrl_L-Shift-C | |
Ctrl_L-V: Ctrl_L-Shift-V | |
- name: emacs like ctrl key | |
application: | |
not: gnome-terminal-server | |
remap: | |
Ctrl_R-B: Left | |
Ctrl_R-F: Right | |
Ctrl_R-P: Up | |
Ctrl_R-N: Down | |
Ctrl_R-A: Home | |
Ctrl_R-E: End | |
Ctrl_R-H: Backspace | |
Ctrl_R-D: Delete | |
Ctrl_R-M: Enter | |
Ctrl_R-K: [Shift-End, Delete] | |
- name: Activity | |
remap: | |
Ctrl_R-Up: Super_L |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment