Browse Source

Stop global-magit-file-mode enabled on load

master
10sr 6 years ago
parent
commit
e8002f2a4d
Signed by: 10sr GPG Key ID: 7BEC428194130EB2
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      emacs.el

+ 7
- 0
emacs.el View File

@@ -796,6 +796,13 @@ found, otherwise returns nil."
;; Include some extra modes ;; Include some extra modes
(require 'generic-x) (require 'generic-x)


(with-eval-after-load 'magit-files
;; `global-magit-file-mode' is enabled by default and this mode overwrites
;; existing keybindings.
;; Apparently it is a HARMFUL behavior and should be fixed, but for now
;; disable this mode here.
(global-magit-file-mode -1))

(when (safe-require-or-eval 'aggressive-indent) (when (safe-require-or-eval 'aggressive-indent)
(defvar aggressive-indent-excluded-modes) (defvar aggressive-indent-excluded-modes)
(add-to-list 'aggressive-indent-excluded-modes (add-to-list 'aggressive-indent-excluded-modes


Loading…
Cancel
Save