tools/magit: map zt/zb motions in magit-mode
This commit is contained in:
parent
87336c405b
commit
cc36ff1223
1 changed files with 2 additions and 0 deletions
|
@ -174,7 +174,9 @@ ensure it is built when we actually use Forge."
|
|||
(evil-define-key* 'normal magit-status-mode-map [escape] nil) ; q is enough
|
||||
(evil-define-key* '(normal visual) magit-mode-map
|
||||
"%" #'magit-gitflow-popup
|
||||
"zt" #'evil-scroll-line-to-top
|
||||
"zz" #'evil-scroll-line-to-center
|
||||
"zb" #'evil-scroll-line-to-bottom
|
||||
"g=" #'magit-diff-default-context)
|
||||
(define-key! 'normal
|
||||
(magit-status-mode-map
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue