summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2016-01-31 02:06:18 -0500
committerKyle Meyer <kyle@kyleam.com>2016-01-31 02:06:18 -0500
commit9f093da7d183d7c568b7db90f2e5755cbb915b61 (patch)
tree49bdbc4e0eec504cf5ff988118011793e71ee617 /init.el
parentf1ceb7344906070883cf24c47e48e913376e4974 (diff)
downloademacs.d-9f093da7d183d7c568b7db90f2e5755cbb915b61.tar.gz
git-rebase: Add two fixup commands
Diffstat (limited to 'init.el')
-rw-r--r--init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/init.el b/init.el
index 297be89..dc83f79 100644
--- a/init.el
+++ b/init.el
@@ -929,6 +929,11 @@
(define-key km/magit-wip-map "w" #'km/magit-commit-wip-with-file)
+ (after 'git-rebase
+ (bind-keys :map git-rebase-mode-map
+ ("d" . km/git-rebase-fixup-duplicates)
+ ("j" . km/git-rebase-join-repeats)))
+
(magit-define-popup-action 'magit-commit-popup
?u "Auto commit" #'km/magit-auto-commit)