Skip to content

Commit

Permalink
Disable windmove mode in org mode buffers
Browse files Browse the repository at this point in the history
Because of keybinding clash.

Fixes bbatsov#1364
  • Loading branch information
Simon Guest committed Jan 13, 2025
1 parent ec85866 commit 28529a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/prelude-org.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))
)

Expand Down

0 comments on commit 28529a6

Please sign in to comment.