summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2025-07-11 17:54:58 +0100
committerBlake Romero <blake@blkrom.com>2025-07-11 17:54:58 +0100
commit46dc4443ac97db49ad5addfc90b4310be3912039 (patch)
treec66f3e01c435c14cdd0cc1331ab31ef93a25eba7
parentbef7ca49a49e75cbd6e0189ab14d12c9d683f7b1 (diff)
Add vc-next-action keybinding to diff-mode-map
-rw-r--r--emacs-config.org6
1 files 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