diff options
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/init.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 5532d834..0b180270 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -434,12 +434,13 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (use-package magit :defer 10 :commands (magit-status magit-dispatch) + :init (progn + (setq magit-define-global-key-bindings t)) :config (progn (setq magit-auto-revert-mode nil magit-section-visibility-indicator nil magit-diff-refine-hunk 'all magit-display-buffer-function #'display-buffer magit-completing-read-function #'ivy-completing-read) - (global-magit-file-mode +1) (remove-hook 'magit-section-highlight-hook 'magit-section-highlight) (remove-hook 'magit-section-highlight-hook 'magit-section-highlight-selection) (remove-hook 'magit-section-highlight-hook 'magit-diff-highlight))) |