Skip to content

Commit

Permalink
vim nav: use tap-hold to lock or not other layers
Browse files Browse the repository at this point in the history
numpad & funpad: quick tap lock the layer while long tap does not
  • Loading branch information
bouttier committed Oct 3, 2024
1 parent d433298 commit 8854c68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kanata/deflayer/navigation_vim.kbd
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@

(defalias
std (layer-switch base)
pad (layer-switch numpad)

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

;; Mouse wheel emulation
mwu (mwheel-up 50 120)
Expand Down

0 comments on commit 8854c68

Please sign in to comment.