Update keybindings to be similar to dwl / vim

This commit is contained in:
Sravan Balaji
2025-04-26 20:34:42 -04:00
parent 047004ab65
commit 844d50a1f5
2 changed files with 23 additions and 23 deletions

View File

@@ -268,25 +268,25 @@ $mainMod = SUPER # Sets "Windows" key as main modifier
*** Launch Programs *** Launch Programs
#+BEGIN_SRC conf :tangle hyprland.conf #+BEGIN_SRC conf :tangle hyprland.conf
bind = $mainMod, Q, exec, $terminal bind = $mainMod SHIFT, Return, exec, $terminal
bind = $mainMod, C, killactive, bind = $mainMod SHIFT, C, killactive,
bind = $mainMod, M, exit, bind = $mainMod SHIFT, Q, exit,
bind = $mainMod, E, exec, $fileManager bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating, bind = $mainMod, F, togglefloating,
bind = $mainMod, R, exec, $menu bind = $mainMod, P, exec, $menu
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, D, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, S, togglesplit, # dwindle
#+END_SRC #+END_SRC
*** Move Focus *** Move Focus
Move focus with mainMod + arrow keys Move focus with mainMod + vim keys
#+BEGIN_SRC conf :tangle hyprland.conf #+BEGIN_SRC conf :tangle hyprland.conf
bind = $mainMod, left, movefocus, l bind = $mainMod, H, movefocus, l
bind = $mainMod, right, movefocus, r bind = $mainMod, L, movefocus, r
bind = $mainMod, up, movefocus, u bind = $mainMod, K, movefocus, u
bind = $mainMod, down, movefocus, d bind = $mainMod, J, movefocus, d
#+END_SRC #+END_SRC
*** Switch Workspaces *** Switch Workspaces

View File

@@ -114,19 +114,19 @@ gestures {
$mainMod = SUPER # Sets "Windows" key as main modifier $mainMod = SUPER # Sets "Windows" key as main modifier
bind = $mainMod, Q, exec, $terminal bind = $mainMod SHIFT, Return, exec, $terminal
bind = $mainMod, C, killactive, bind = $mainMod SHIFT, C, killactive,
bind = $mainMod, M, exit, bind = $mainMod SHIFT, Q, exit,
bind = $mainMod, E, exec, $fileManager bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating, bind = $mainMod, F, togglefloating,
bind = $mainMod, R, exec, $menu bind = $mainMod, P, exec, $menu
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, D, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, S, togglesplit, # dwindle
bind = $mainMod, left, movefocus, l bind = $mainMod, H, movefocus, l
bind = $mainMod, right, movefocus, r bind = $mainMod, L, movefocus, r
bind = $mainMod, up, movefocus, u bind = $mainMod, K, movefocus, u
bind = $mainMod, down, movefocus, d bind = $mainMod, J, movefocus, d
bind = $mainMod, 1, workspace, 1 bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2 bind = $mainMod, 2, workspace, 2