From 53aeaffd2f9fc6ec415fbcf787c8133a669242cf Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 14 Nov 2020 21:53:11 +0100 Subject: Emacs: fix magit error --- user/emacs/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'user') 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))) -- cgit 1.4.1