diff options
-rw-r--r-- | .emacs.d/init.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 0bb861b1..5af8f7b9 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -3495,6 +3495,13 @@ mutt's review view, after exiting EDITOR." (diff-hunk-kill)))) (spw/feature-define-keys diff-mode "\C-z\C-v" spw/diff-discard-hunk) +(defun spw/vc-next-action-for-git-fixup () + (interactive) + (save-window-excursion (call-interactively #'vc-next-action)) + (call-interactively #'vc-print-root-log) + (message "Move point to the commit to fixup! into and type C-z f")) +(global-set-key "\C-cvf" 'spw/vc-next-action-for-git-fixup) + ;;;; Assorted packages |