From ad469dd8e2039d762ff37c6149a2718e027fdd49 Mon Sep 17 00:00:00 2001 From: ooks-io Date: Thu, 1 Aug 2024 23:12:32 +1200 Subject: [PATCH] feat(home:hyprland): add vim bindings --- .../compositor/hyprland/settings/binds.nix | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/home/modules/desktop/wayland/compositor/hyprland/settings/binds.nix b/home/modules/desktop/wayland/compositor/hyprland/settings/binds.nix index 8a368d3..1ebbfa3 100644 --- a/home/modules/desktop/wayland/compositor/hyprland/settings/binds.nix +++ b/home/modules/desktop/wayland/compositor/hyprland/settings/binds.nix @@ -49,18 +49,30 @@ in { "SUPER, P, pseudo" # dwindle "SUPER, S, togglesplit" # dwindle - # Focus + # Focus Arrows "SUPER, left, movefocus,l" "SUPER, right, movefocus,r" "SUPER, up, movefocus,u" "SUPER, down, movefocus,d" - # Move + # Focus Vim + "SUPER, h, movefocus,l" + "SUPER, l, movefocus,r" + "SUPER, k, movefocus,u" + "SUPER, j, movefocus,d" + + # Move Arrows "SUPERSHIFT, left, movewindow,l" "SUPERSHIFT, right, movewindow,r" "SUPERSHIFT, up, movewindow,u" "SUPERSHIFT, down, movewindow,d" + # Move Vim + "SUPERSHIFT, h, movewindow,l" + "SUPERSHIFT, l, movewindow,r" + "SUPERSHIFT, k, movewindow,u" + "SUPERSHIFT, j, movewindow,d" + #Resize "SUPER CTRL, left, resizeactive,-20 0" "SUPERCTRL, right, resizeactive,20 0" @@ -78,8 +90,8 @@ in { "SUPER, 8, workspace,8" "SUPER, 9, workspace,9" "SUPER, 0, workspace,10" - "SUPER, comma, workspace,e+1" - "SUPER, period, workspace,e-1" + "SUPER, period, workspace,e+1" + "SUPER, comma, workspace,e-1" "SUPER, tab, focusCurrentOrLast" # Move workspace