Clean up the modeline a bit

This commit is contained in:
Bozhidar Batsov 2020-11-24 09:40:14 +02:00
parent 3799d6fd0b
commit 0ebba48c93
5 changed files with 11 additions and 1 deletions

View file

@ -146,6 +146,7 @@
;; add integration with ace-window
(add-to-list 'super-save-triggers 'ace-window)
(super-save-mode +1)
(diminish 'super-save-mode)
(defadvice set-buffer-major-mode (after set-major-mode activate compile)
"Set buffer major mode according to `auto-mode-alist'."
@ -307,6 +308,7 @@ indent yanked text (with prefix arg don't indent)."
;; abbrev config
(add-hook 'text-mode-hook 'abbrev-mode)
(diminish 'abbrev-mode)
;; make a shell script executable automatically on save
(add-hook 'after-save-hook
@ -415,6 +417,7 @@ and file 'filename' will be opened and cursor set on line 'linenumber'"
;; use settings from .editorconfig file when present
(require 'editorconfig)
(editorconfig-mode 1)
(diminish 'editorconfig-mode)
(provide 'prelude-editor)