diff --git a/flake.lock b/flake.lock index c1cc4e1..86a86f3 100644 --- a/flake.lock +++ b/flake.lock @@ -426,8 +426,8 @@ "pre-commit-hooks": "pre-commit-hooks" }, "locked": { - "lastModified": 1727381219, - "narHash": "sha256-opVpZUfNI78B6Y33O6CAuv4zgfhTI8IMPjYqv3oCssM=", + "lastModified": 1727381443, + "narHash": "sha256-ndklrgp7ufcZXAaOl2LNuwAbKSVcxrI1YDUe3bPGTfE=", "path": "/home/pagedmov/sysflakes/glasshouse-desktop/dotfiles/packages/nixvim", "type": "path" }, diff --git a/glasshouse-desktop/dotfiles/config/nixvim/config/keymaps.nix b/glasshouse-desktop/dotfiles/config/nixvim/config/keymaps.nix index 8954443..ace4d30 100644 --- a/glasshouse-desktop/dotfiles/config/nixvim/config/keymaps.nix +++ b/glasshouse-desktop/dotfiles/config/nixvim/config/keymaps.nix @@ -20,6 +20,25 @@ key = ""; mode = "t"; } - + { + action = "h"; # Move to the left split (Ctrl+W, then H) + key = "H"; # Shift+H key binding + mode = "n"; # Normal mode + } + { + action = "j"; # Move to the bottom split (Ctrl+W, then J) + key = "J"; + mode = "n"; + } + { + action = "k"; # Move to the top split (Ctrl+W, then K) + key = "K"; + mode = "n"; + } + { + action = "l"; # Move to the right split (Ctrl+W, then L) + key = "L"; + mode = "n"; + } ]; }