Magit: Navigate sections with arrow keys in diff-mode.
This commit is contained in:
parent
cf0574fd23
commit
ab9c185098
|
@ -22,7 +22,10 @@
|
||||||
("C-c g" . magit-status)
|
("C-c g" . magit-status)
|
||||||
("C-c M-g" . magit-dispatch)
|
("C-c M-g" . magit-dispatch)
|
||||||
(:map magit-hunk-section-map
|
(: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)
|
:hook ((after-save . magit-after-save-refresh-status)
|
||||||
(magit-mode . keychain-refresh-environment)))
|
(magit-mode . keychain-refresh-environment)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user