diff --git a/machines/moritz-laptop/configuration.nix b/machines/moritz-laptop/configuration.nix index 89903b2..0107bda 100644 --- a/machines/moritz-laptop/configuration.nix +++ b/machines/moritz-laptop/configuration.nix @@ -126,22 +126,21 @@ ;; caps-word tap-dance lsft (tap-dance 200 (_ (caps-word 2000) _ _)) + ;; switch to normal keyboard layout + lctl (layer-switch normal) + ;; change ctrl alt and meta - lctl lalt lmet lctl lalt (tap-dance 200 (lmet (multi lmet alt) lmet lmet)) + ralt lalt - ;; hjkl layer - ralt (tap-hold 200 200 (layer-switch hjkl) (layer-while-held hjkl)) ;; tap: switch hold: switch while held - - ;; switch to normal keyboard layout - rctl (layer-switch normal) + rctl (tap-hold 200 200 (layer-switch layer1) (layer-while-held layer1)) ) (deflayermap (normal) rctl (layer-switch default)) - (deflayermap (hjkl) + (deflayermap (layer1) h left j down k up