diff --git a/layers/+source-control/git/packages.el b/layers/+source-control/git/packages.el index 432a45319..bb99b7164 100644 --- a/layers/+source-control/git/packages.el +++ b/layers/+source-control/git/packages.el @@ -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