From a3413a1b48e72fc4172232e9405d66ac484dcf26 Mon Sep 17 00:00:00 2001 From: Martin Goyot Date: Tue, 25 Feb 2025 19:29:17 +0100 Subject: [PATCH] fix: kanata definition of the fn layer does not follow documentation There are differences between what the documentation of the function layer describes and what the Kanata layout really does about it. This commit should fix: - The function layer is now locked - Pressing lalt or ralt result to a switch to base - lalt and lctl were swapped to match the order of the homerow --- kanata/deflayer/navigation_vim.kbd | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/kanata/deflayer/navigation_vim.kbd b/kanata/deflayer/navigation_vim.kbd index dfc8742..227f72d 100644 --- a/kanata/deflayer/navigation_vim.kbd +++ b/kanata/deflayer/navigation_vim.kbd @@ -27,16 +27,15 @@ (deflayer funpad XX XX XX XX XX XX XX XX XX XX XX f1 f2 f3 f4 XX XX XX XX XX XX - f5 f6 f7 f8 XX XX lctl lalt lmet _ + f5 f6 f7 f8 XX XX lalt lctl lmet _ f9 f10 f11 f12 XX XX XX XX XX XX XX - _ _ _ + @std _ @std ) (defalias std (layer-switch base) pad (layer-switch numpad) - - fun (layer-while-held funpad) + fun (layer-switch funpad) ;; Mouse wheel emulation mwu (mwheel-up 50 120)