#+title: Window Management Config #+author: Evie Litherland-Smith #+email: evie@xenia.me.uk #+language: en #+filetags: :emacs:config:org: #+property: header-args:emacs-lisp :tangle yes :mkdirp yes :results output silent #+begin_src emacs-lisp (setq split-height-threshold nil split-width-threshold 160) #+end_src * windmove #+begin_src emacs-lisp (use-package windmove :ensure t :demand :diminish :config (windmove-mode +1) :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 * winner #+begin_src emacs-lisp (use-package winner :ensure t :demand :diminish :bind (("C-c w u" . winner-undo) ("C-c w r" . winner-redo)) :config (winner-mode)) #+end_src * ediff #+begin_src emacs-lisp :tangle yes (use-package ediff :ensure t :diminish :bind (("C-c d f" . ediff-files) ("C-c d b" . ediff-buffers) ("C-c d 3 f" . ediff-files3) ("C-c d 3 b" . ediff-buffers3)) :custom (ediff-window-setup-function #'ediff-setup-windows-plain)) #+end_src