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
207d6fa7f8
commit
49bd940533
1 changed files with 2 additions and 2 deletions
|
@ -493,8 +493,8 @@
|
|||
:desc "Magit clone" "C" #'magit-clone
|
||||
:desc "Magit fetch" "F" #'magit-fetch
|
||||
:desc "Magit buffer log" "L" #'magit-log-buffer-file
|
||||
:desc "Git stage file" "S" #'magit-stage-file
|
||||
:desc "Git unstage file" "U" #'magit-unstage-file
|
||||
:desc "Git stage this file" "S" #'magit-stage-buffer-file
|
||||
:desc "Git unstage this file" "U" #'magit-unstage-file
|
||||
(:prefix ("f" . "find")
|
||||
:desc "Find file" "f" #'magit-find-file
|
||||
:desc "Find gitconfig file" "g" #'magit-find-git-config-file
|
||||
|
|
Loading…
Reference in a new issue