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:
parent
febf960c4e
commit
f0a5d454c5
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue