From 28529a6042042de14c8e82081abf41cc65c7262a Mon Sep 17 00:00:00 2001 From: Simon Guest Date: Mon, 13 Jan 2025 17:50:00 +1300 Subject: [PATCH] Disable windmove mode in org mode buffers Because of keybinding clash. Fixes #1364 --- modules/prelude-org.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/prelude-org.el b/modules/prelude-org.el index 692f0c96b8..6f5f549023 100644 --- a/modules/prelude-org.el +++ b/modules/prelude-org.el @@ -51,6 +51,8 @@ (define-key newmap (kbd "C-c -") nil) (define-key newmap (kbd "C-a") 'org-beginning-of-line) (make-local-variable 'minor-mode-overriding-map-alist) + ;; windmove bindings clash badly with org mode, so disable them in org mode buffers + (windmove-mode -1) (push `(prelude-mode . ,newmap) minor-mode-overriding-map-alist)) )