Magit: Navigate sections with arrow keys in diff-mode.

This commit is contained in:
tastytea 2021-04-23 20:58:25 +02:00
parent cf0574fd23
commit ab9c185098
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -22,7 +22,10 @@
("C-c g" . magit-status)
("C-c M-g" . magit-dispatch)
(:map magit-hunk-section-map
("RET" . magit-diff-visit-worktree-file-other-window)))
("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)))
:hook ((after-save . magit-after-save-refresh-status)
(magit-mode . keychain-refresh-environment)))