mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -525,7 +525,7 @@
|
||||
:desc "Magit fetch" "F" #'magit-fetch
|
||||
:desc "Magit buffer log" "L" #'magit-log-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")
|
||||
:desc "Find file" "f" #'magit-find-file
|
||||
:desc "Find gitconfig file" "g" #'magit-find-git-config-file
|
||||
|
Reference in New Issue
Block a user