Skip to content

Commit 775994a

Browse files
committed
vim nav: use tap-hold to lock or not other layers
numpad & funpad: quick tap lock the layer while long tap does not
1 parent d433298 commit 775994a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kanata/deflayer/navigation_vim.kbd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929
f1 f2 f3 f4 XX XX XX XX XX XX
3030
f5 f6 f7 f8 XX XX lctl lalt lmet _
3131
f9 f10 f11 f12 XX XX XX XX XX XX XX
32-
_ _ _
32+
@std _ @std
3333
)
3434

3535
(defalias
3636
std (layer-switch base)
37-
pad (layer-switch numpad)
3837

39-
fun (layer-while-held funpad)
38+
pad (tap-hold-press 0 $long_hold_timeout (layer-switch numpad) (layer-while-held numpad))
39+
fun (tap-hold-press 0 $long_hold_timeout (layer-switch funpad) (layer-while-held funpad))
4040

4141
;; Mouse wheel emulation
4242
mwu (mwheel-up 50 120)

0 commit comments

Comments
 (0)