Add gitflow as %, moving worktree to *

- Adds `magit-gitflow-popup` as `%` keybinding in the `magit-dispatch`, mirroring the keybinding in `magit-mode-map`.
- The existing binding `magit-worktree` is moved to `*`
This commit is contained in:
Yash Yadavalli 2020-06-19 21:14:37 +00:00 committed by GitHub
parent 0abbf73b07
commit e1118f4754
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -192,4 +192,8 @@ ensure it is built when we actually use Forge."
(setcar desc (cdr key))))
(evil-define-key* evil-magit-state git-rebase-mode-map
"gj" #'git-rebase-move-line-down
"gk" #'git-rebase-move-line-up)))
"gk" #'git-rebase-move-line-up))
(transient-replace-suffix 'magit-dispatch 'magit-worktree
'("%" "Gitflow" magit-gitflow-popup))
(transient-append-suffix 'magit-dispatch '(0 -1 -1)
'("*" "Worktree" magit-worktree)))