summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el3
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)))