Skip to content

Commit

Permalink
Merge pull request doomemacs#3481 from vednoc/add-z-motions-to-magit
Browse files Browse the repository at this point in the history
tools/magit: map zt/zb motions in magit-mode
  • Loading branch information
hlissner committed Jul 13, 2020
2 parents b28a14c + cc36ff1 commit 22fda9b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/tools/magit/config.el
Expand Up @@ -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
Expand Down

0 comments on commit 22fda9b

Please sign in to comment.