41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
# F13 is a real keycode that no app binds. We declare it a virtual modifier so it can
|
|
# prefix the nav-layer chords below, then remap RightAlt -> F13 (see modmap). This mirrors
|
|
# the wm/fl evremap setup: RightAlt only ever emits F13, so a bare tap/hold never triggers
|
|
# app menu bars and no stray Alt leaks on unmapped chords.
|
|
virtual_modifiers:
|
|
- F13
|
|
|
|
modmap:
|
|
- name: CapsLock to LeftCtrl/Esc
|
|
remap:
|
|
CapsLock:
|
|
held: leftctrl
|
|
alone: esc
|
|
alone_timeout_millis: 150
|
|
|
|
- name: RightAlt to F13 (nav-layer modifier; Left Alt untouched)
|
|
remap:
|
|
Alt_R: F13
|
|
|
|
keymap:
|
|
- name: RightAlt(F13) vim-nav layer — mirrors wm/fl evremap
|
|
remap:
|
|
F13-h: left
|
|
F13-j: down
|
|
F13-k: up
|
|
F13-l: right
|
|
F13-u: pageup
|
|
F13-d: pagedown
|
|
F13-b: C-left # word left (Ctrl+Left)
|
|
F13-w: C-right # word right (Ctrl+Right)
|
|
|
|
# keymap:
|
|
# - name: Freetube remap
|
|
# application:
|
|
# only: FreeTube
|
|
# remap:
|
|
# Alt-h: Left
|
|
# Alt-l: Right
|
|
# Alt-j: Down
|
|
# Alt-k: Up
|