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