From 16f366a321f4b8624315d48b6f8ba59b1db8f91b Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Wed, 3 Jan 2024 09:39:47 +0000 Subject: [PATCH] Add set of windmove binds --- README.org | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.org b/README.org index 4da78bf..9d2aea6 100644 --- a/README.org +++ b/README.org @@ -242,6 +242,31 @@ Loading this file is handled automatically on my [[https://git.xenia.me.uk/xenia ** 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 #+begin_src emacs-lisp (use-package winner