mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Bind useful magit-file-dispatch
Thanks to this blog post for teaching me about it: https://emacsredux.com/blog/2020/12/10/essential-magit-file-commands/ Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
@ -307,6 +307,7 @@
|
|||||||
:desc "Jump to previous hunk" "p" #'git-gutter:previous-hunk)
|
:desc "Jump to previous hunk" "p" #'git-gutter:previous-hunk)
|
||||||
(:when (featurep! :tools magit)
|
(:when (featurep! :tools magit)
|
||||||
:desc "Magit dispatch" "/" #'magit-dispatch
|
:desc "Magit dispatch" "/" #'magit-dispatch
|
||||||
|
:desc "Magit file dispatch" "." #'magit-file-dispatch
|
||||||
:desc "Forge dispatch" "'" #'forge-dispatch
|
:desc "Forge dispatch" "'" #'forge-dispatch
|
||||||
:desc "Magit status" "g" #'magit-status
|
:desc "Magit status" "g" #'magit-status
|
||||||
:desc "Magit status here" "G" #'magit-status-here
|
:desc "Magit status here" "G" #'magit-status-here
|
||||||
|
@ -411,6 +411,7 @@
|
|||||||
:desc "Jump to previous hunk" "[" #'git-gutter:previous-hunk)
|
:desc "Jump to previous hunk" "[" #'git-gutter:previous-hunk)
|
||||||
(:when (featurep! :tools magit)
|
(:when (featurep! :tools magit)
|
||||||
:desc "Magit dispatch" "/" #'magit-dispatch
|
:desc "Magit dispatch" "/" #'magit-dispatch
|
||||||
|
:desc "Magit file dispatch" "." #'magit-file-dispatch
|
||||||
:desc "Forge dispatch" "'" #'forge-dispatch
|
:desc "Forge dispatch" "'" #'forge-dispatch
|
||||||
:desc "Magit switch branch" "b" #'magit-branch-checkout
|
:desc "Magit switch branch" "b" #'magit-branch-checkout
|
||||||
:desc "Magit status" "g" #'magit-status
|
:desc "Magit status" "g" #'magit-status
|
||||||
|
Reference in New Issue
Block a user