mirror of
https://github.com/k0kubun/xremap
synced 2024-11-09 19:10:45 +00:00
38 lines
736 B
YAML
38 lines
736 B
YAML
modmap:
|
|
- name: Global
|
|
remap:
|
|
# CapsLock/Ctrl_L -> Esc
|
|
CapsLock: Esc
|
|
Ctrl_L: Esc
|
|
|
|
# [Alt_L] [Muhenkan] [Space] [Henkan] [Kana]
|
|
Alt_L: Ctrl_R # for Ctrl+Click
|
|
Muhenkan: Ctrl_L
|
|
Henkan: Shift_L
|
|
|
|
- name: Kana -> Alt
|
|
wm_class:
|
|
only: jetbrains-idea
|
|
remap:
|
|
# Use Alt since Windows is annoying in IDEA
|
|
KatakanaHiragana: Alt_L
|
|
|
|
keymap:
|
|
- name: Global
|
|
remap:
|
|
# Underscore without Shift
|
|
RO: Shift-RO
|
|
|
|
# SKK hack for Chrome
|
|
C-j: C-m
|
|
|
|
- name: Default (Nocturn, etc.)
|
|
wm_class:
|
|
not: [Google-chrome, Slack, Gnome-terminal, jetbrains-idea]
|
|
remap:
|
|
# Emacs basic
|
|
C-b: left
|
|
C-f: right
|
|
C-p: up
|
|
C-n: down
|