tweak(default): bind '<leader> g U' to magit-unstage-buffer-file
The former command, magit-unstable-file, would prompt the user to select a file to unstage, but the intention of this keybind was always to "unstage *this* file". magit-unstage-buffer-file didn't exist at the time this keybind was created, so I settled on magit-unstage-file as a compromise, which is no longer necessary.
This commit is contained in:
parent
c5c7f0bc99
commit
9224ac56f0
1 changed files with 1 additions and 1 deletions
|
@ -525,7 +525,7 @@
|
||||||
: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 this file" "S" #'magit-stage-buffer-file
|
:desc "Git stage this file" "S" #'magit-stage-buffer-file
|
||||||
:desc "Git unstage this file" "U" #'magit-unstage-file
|
:desc "Git unstage this file" "U" #'magit-unstage-buffer-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