From 46dc4443ac97db49ad5addfc90b4310be3912039 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Fri, 11 Jul 2025 17:54:58 +0100 Subject: Add vc-next-action keybinding to diff-mode-map --- emacs-config.org | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/emacs-config.org b/emacs-config.org index e351c5d..9fbc07e 100644 --- a/emacs-config.org +++ b/emacs-config.org @@ -1260,8 +1260,10 @@ Org functions. (keymap-set +global-keys-map "C-c a" #'org-agenda) #+end_src ** Diff-mode -Rebind diff-mode's ~diff-goto-source~ keybinding due to conflict with =M-o=. +Rebind diff-mode's ~diff-goto-source~ keybinding (due to conflict with =M-o=). +Add version control next action shortcut in diff-mode buffer. #+begin_src elisp (with-eval-after-load 'diff-mode - (keymap-set diff-mode-map "M-j" #'diff-goto-source)) + (keymap-set diff-mode-map "M-j" #'diff-goto-source) + (keymap-set diff-mode-map "v" #'vc-next-action)) #+end_src -- cgit