git: add submodule popup keybinding

This commit is contained in:
Robert O'Connor 2016-05-04 20:38:30 -04:00 committed by Eivind Fonn
parent 3b6f12f409
commit 55ebd1e679
2 changed files with 4 additions and 1 deletions

View File

@ -105,6 +105,7 @@ Git commands (start with ~g~):
| Key Binding | Description |
|-------------+-----------------------------------------------------|
| ~SPC g >~ | show submodule prompt |
| ~SPC g A~ | show cherry-pick prompt |
| ~SPC g b~ | open a =magit= blame |
| ~SPC g B~ | quit =magit= blame |

View File

@ -106,7 +106,8 @@
magit-pull-popup
magit-push-popup
magit-rebase-popup
magit-status)
magit-status
magit-submodule-popup)
:init
(progn
(setq magit-completing-read-function
@ -127,6 +128,7 @@
(spacemacs/declare-prefix "gd" "diff")
(spacemacs/set-leader-keys
"g>" 'magit-submodule-popup
"gA" 'magit-cherry-pick-popup
"gb" 'spacemacs/git-blame-micro-state
"gc" 'magit-commit-popup