Change windmove binds to vim-style navigation

Better fit with Hyprland binds and other CLI apps, vim-style makes
more sense for directional navigation
This commit is contained in:
Evie Litherland-Smith 2024-01-03 10:35:49 +00:00
parent 16f366a321
commit cd9a62a90e

View file

@ -248,22 +248,18 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia
:ensure t
:demand
:config (windmove-mode +1)
:bind (("C-c w p" . windmove-up)
("C-c w C-p" . windmove-display-up)
("C-c w k p" . windmove-delete-up)
("C-c w P" . windmove-swap-states-up)
("C-c w n" . windmove-down)
("C-c w C-n" . windmove-display-down)
("C-c w k n" . windmove-delete-down)
("C-c w N" . windmove-swap-states-down)
("C-c w b" . windmove-left)
("C-c w C-b" . windmove-display-left)
("C-c w k b" . windmove-delete-left)
("C-c w B" . windmove-swap-states-left)
("C-c w f" . windmove-right)
("C-c w C-f" . windmove-display-right)
("C-c w k f" . windmove-delete-right)
("C-c w F" . windmove-swap-states-right)))
:bind (("C-c w k" . windmove-up)
("C-c w C-k" . windmove-display-up)
("C-c w K" . windmove-swap-states-up)
("C-c w j" . windmove-down)
("C-c w C-j" . windmove-display-down)
("C-c w J" . windmove-swap-states-down)
("C-c w h" . windmove-left)
("C-c w C-h" . windmove-display-left)
("C-c w H" . windmove-swap-states-left)
("C-c w l" . windmove-right)
("C-c w C-l" . windmove-display-right)
("C-c w L" . windmove-swap-states-right)))
#+end_src