summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-12-01 18:59:28 -0500
committerKyle Meyer <kyle@kyleam.com>2015-12-26 12:14:39 -0500
commit73f1564255f45993896c9671bd887e28fbe158ea (patch)
tree3016a852967df1c3257b703ca684db7d7f6b3f59 /lisp
parent3e26e28599c9586122539915518b803d873da4b5 (diff)
downloademacs.d-73f1564255f45993896c9671bd887e28fbe158ea.tar.gz
magit: Tweak popups
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-git.el23
1 files changed, 14 insertions, 9 deletions
diff --git a/lisp/init-git.el b/lisp/init-git.el
index 0b04fab..d607c07 100644
--- a/lisp/init-git.el
+++ b/lisp/init-git.el
@@ -637,8 +637,8 @@ show tags by default."
(magit-define-popup-action 'magit-diff-popup
?e "Edit options" 'magit-diff-refresh-popup)
-(magit-define-popup-action 'magit-stash-popup
- ?s "Snapshot" 'magit-snapshot)
+(magit-change-popup-key 'magit-stash-popup :action
+ ?Z ?s)
(magit-define-popup-switch 'magit-log-popup
?p "First parent" "--first-parent")
@@ -654,14 +654,21 @@ show tags by default."
(magit-define-popup-action 'magit-log-popup
?W "Log other WIP" 'magit-wip-log)
+(magit-change-popup-key 'magit-branch-popup :action
+ ?c ?o)
+(magit-change-popup-key 'magit-branch-popup :action
+ ?n ?C)
+(magit-change-popup-key 'magit-branch-popup :action
+ ?m ?R)
+(magit-change-popup-key 'magit-branch-popup :action
+ ?s ?v)
+
(magit-define-popup-action 'magit-branch-popup
?c "Create & checkout from current"
'km/magit-branch-and-checkout-from-current)
+
(magit-define-popup-action 'magit-branch-popup
- ?C "Create" 'magit-branch)
-(magit-define-popup-action 'magit-branch-popup
- ?l "Delete previous branch"
- 'km/magit-delete-previous-branch)
+ ?K "Delete previous branch" 'km/magit-delete-previous-branch)
(magit-define-popup-action 'magit-branch-popup
?m "Checkout master" 'km/magit-checkout-master)
(magit-define-popup-action 'magit-branch-popup
@@ -669,15 +676,13 @@ show tags by default."
(magit-define-popup-action 'magit-branch-popup
?N "Track recent ref" 'km/magit-checkout-track-recent-ref)
(magit-define-popup-action 'magit-branch-popup
- ?p "Checkout previous" 'km/magit-checkout-previous-branch)
+ ?l "Checkout previous" 'km/magit-checkout-previous-branch)
(magit-define-popup-action 'magit-branch-popup
?r "Rename branch" 'km/magit-branch-rename)
(magit-define-popup-action 'magit-branch-popup
?s "Backup current branch" 'km/magit-backup-branch)
(magit-define-popup-action 'magit-branch-popup
?t "Local tracking" 'km/magit-checkout-local-tracking)
-(magit-define-popup-action 'magit-branch-popup
- ?v "Spin off" 'magit-branch-spinoff)
(defadvice magit-merge-editmsg (around km/magit-merge-editmsg-no-ff activate)
"Set '--no-ff' flag when running `magit-merge-editmsg'."