[git] Fix g for magit-refresh with emacs editing style
Fixes: <g> no longer works in Magit status screen #14181
This commit is contained in:
parent
6f830c149e
commit
9c2a208b51
|
@ -245,9 +245,10 @@
|
|||
(define-key magit-status-mode-map (kbd "C-S-w")
|
||||
'spacemacs/magit-toggle-whitespace)
|
||||
;; Add missing which-key prefixes using the new keymap api
|
||||
(which-key-add-keymap-based-replacements magit-status-mode-map
|
||||
"gf" "jump-to-unpulled"
|
||||
"gp" "jump-to-unpushed")
|
||||
(when (memq dotspacemacs-editing-style '(vim hybrid))
|
||||
(which-key-add-keymap-based-replacements magit-status-mode-map
|
||||
"gf" "jump-to-unpulled"
|
||||
"gp" "jump-to-unpushed"))
|
||||
;; https://magit.vc/manual/magit/MacOS-Performance.html
|
||||
;; But modified according Tommi Komulainen's advice: "...going through
|
||||
;; shell raises an eyebrow, and in the odd edge case of not having git
|
||||
|
|
Loading…
Reference in a new issue