added vim keybinds to hyprland config

added vim keybinds mod+(hjkl) for focus and the same + shift to move
windows

because of this i had to rebind the lock key to mod+alt+l
This commit is contained in:
Gabriella Bere 2025-10-01 16:54:29 +01:00
parent e0c7259ff7
commit 642a0f1838

View file

@ -89,13 +89,25 @@
# Screenshot tool
", Print, exec, hyprshot -m region -o ~/Pictures/Screenshots"
# Screen locking tool
"$mod, l, exec, hyprlock"
# Screen locking
"$mod alt, l, exec, hyprlock"
# Window management
"$mod, x, killactive"
"$mod, tab, togglefloating"
# Vim keybinds for changing focus
"$mod, h, movefocus, l"
"$mod, j, movefocus, d"
"$mod, k, movefocus, u"
"$mod, l, movefocus, r"
# Vim keybinds for moving windows
"$mod shift, h, movewindow, l"
"$mod shift, j, movewindow, d"
"$mod shift, k, movewindow, u"
"$mod shift, l, movewindow, r"
# workspace swipe but with $mod+scroll
"$mod, mouse_up, workspace, r+1"
"$mod, left, workspace, m-1"