Skip to content

Commit 8854c68

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 8854c68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kanata/deflayer/navigation_vim.kbd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
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)