Add set of windmove binds

This commit is contained in:
Evie Litherland-Smith 2024-01-03 09:39:47 +00:00
parent 6853d3635b
commit 16f366a321

View file

@ -242,6 +242,31 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia
** Window management ** Window management
*** windmove
#+begin_src emacs-lisp
(use-package windmove
: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)))
#+end_src
*** winner *** winner
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package winner (use-package winner