use better keybind for magit-status
This commit is contained in:
parent
4d0cd9cf58
commit
35a7cab081
|
@ -163,6 +163,7 @@
|
|||
:config
|
||||
(evil-mode 1)
|
||||
(evil-define-key 'normal 'global (kbd "K") #'eldoc-box-help-at-point)
|
||||
(evil-define-key 'normal 'global (kbd "gg") #'magit-status)
|
||||
(evil-define-key 'normal 'global (kbd "gp") #'diff-hl-show-hunk)
|
||||
(evil-define-key 'normal 'global (kbd "gr") #'diff-hl-revert-hunk)
|
||||
(evil-define-key 'normal 'global (kbd "gs") #'diff-hl-stage-current-hunk))
|
||||
|
@ -349,8 +350,7 @@
|
|||
magit-completing-read-function 'magit-ivy-completing-read
|
||||
magit-default-tracking-name-function 'magit-default-tracking-name-branch-only
|
||||
magit-push-always-verify nil
|
||||
magit-restore-window-configuration t)
|
||||
:bind ("C-x g" . magit-status))
|
||||
magit-restore-window-configuration t))
|
||||
|
||||
(use-package diff-hl
|
||||
:ensure t
|
||||
|
|
Loading…
Reference in a new issue