Add C-<up> and -<down> to magit status.

This commit is contained in:
tastytea 2021-06-01 15:30:42 +02:00
parent 031240776f
commit 634bc6bd50
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 5 additions and 2 deletions

View File

@ -24,8 +24,11 @@
(:map magit-hunk-section-map
("RET" . magit-diff-visit-worktree-file-other-window))
(:map magit-diff-mode-map
("<C-down>" . magit-section-forward-sibling)
("<C-up>" . magit-section-backward-sibling)))
("C-<down>" . magit-section-forward-sibling)
("C-<up>" . magit-section-backward-sibling))
(:map magit-status-mode-map
("C-<down>" . magit-section-forward-sibling)
("C-<up>" . magit-section-backward-sibling)))
:hook ((after-save . magit-after-save-refresh-status)
(magit-mode . keychain-refresh-environment)))