tweak(default): ensure '<leader> g S' is silent
magit-stage-file prompts the user to select a file to stage, but the intention for these two keys has always been to (un)stage the current file (and without prompting). This ensures that is the case. I've also tweaked their description to make that intention clearer.
This commit is contained in:
parent
2f7b309252
commit
0349dab09a
1 changed files with 2 additions and 2 deletions
|
@ -493,8 +493,8 @@
|
||||||
:desc "Magit clone" "C" #'magit-clone
|
:desc "Magit clone" "C" #'magit-clone
|
||||||
:desc "Magit fetch" "F" #'magit-fetch
|
:desc "Magit fetch" "F" #'magit-fetch
|
||||||
:desc "Magit buffer log" "L" #'magit-log-buffer-file
|
:desc "Magit buffer log" "L" #'magit-log-buffer-file
|
||||||
:desc "Git stage file" "S" #'magit-stage-file
|
:desc "Git stage this file" "S" #'magit-stage-buffer-file
|
||||||
:desc "Git unstage file" "U" #'magit-unstage-file
|
:desc "Git unstage this file" "U" #'magit-unstage-file
|
||||||
(:prefix ("f" . "find")
|
(:prefix ("f" . "find")
|
||||||
:desc "Find file" "f" #'magit-find-file
|
:desc "Find file" "f" #'magit-find-file
|
||||||
:desc "Find gitconfig file" "g" #'magit-find-git-config-file
|
:desc "Find gitconfig file" "g" #'magit-find-git-config-file
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue