about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-windows.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-07-23 08:38:59 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-07-23 08:38:59 +0100
commitc54944db90c22ad70c80543eba0cf5c3c8417e44 (patch)
tree0c7017631902050fa4b787ded0a7706912763a11 /.emacs.d/lisp/init-windows.el
parent7299504d091e67633119263e3957b06e651f18ca (diff)
downloaddotfiles-c54944db90c22ad70c80543eba0cf5c3c8417e44.tar.gz
Add bindings for windmove delete commands
Diffstat (limited to '.emacs.d/lisp/init-windows.el')
-rw-r--r--.emacs.d/lisp/init-windows.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-windows.el b/.emacs.d/lisp/init-windows.el
index 2378e91..f43de90 100644
--- a/.emacs.d/lisp/init-windows.el
+++ b/.emacs.d/lisp/init-windows.el
@@ -42,7 +42,11 @@
 
 (use-feature windmove
   :defer 5
-  :config (windmove-default-keybindings))
+  :config (windmove-default-keybindings)
+  :bind (("C-c M-<up>" . windmove-delete-up)
+         ("C-c M-<down>" . windmove-delete-down)
+         ("C-c M-<left>" . windmove-delete-left)
+         ("C-c M-<right>" . windmove-delete-right)))
 
 (use-package buffer-move
   :bind (("C-S-<up>" . buf-move-up)