summaryrefslogtreecommitdiff
path: root/emacs-config.org
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2025-07-09 21:05:32 +0100
committerBlake Romero <blake@blkrom.com>2025-07-09 21:05:32 +0100
commit6afcb92b69ed3710480186e73b8b7e18db21ccc2 (patch)
tree40cf10168b31b78b74552740f65f73e8f3d62647 /emacs-config.org
parentc7cc73ba64016b24874ec6a315dc0fcb065cc4c4 (diff)
Rebind diff-mode's M-o keybinding to fix conflict
Diffstat (limited to 'emacs-config.org')
-rw-r--r--emacs-config.org7
1 files changed, 7 insertions, 0 deletions
diff --git a/emacs-config.org b/emacs-config.org
index f0964bc..b20fa34 100644
--- a/emacs-config.org
+++ b/emacs-config.org
@@ -142,3 +142,10 @@ Help actions.
(keymap-global-set "C-h M" #'describe-keymap)
(keymap-global-set "C-h j" #'describe-char)
#+end_src
+* Version Control
+Rebind diff-mode's ~diff-goto-source~ keybinding due to conflict with =M-o=.
+#+begin_src elisp
+ (with-eval-after-load 'diff-mode
+ (keymap-set diff-mode-map "M-o" #'other-window)
+ (keymap-set diff-mode-map "M-j" #'diff-goto-source))
+#+end_src