Remove diminish + remove minor modes from modeline

This commit is contained in:
Henrik Lissner
2015-12-09 01:57:56 -05:00
parent cdd0a7534b
commit 9f43f00e87
13 changed files with 3 additions and 24 deletions

View File

@ -78,9 +78,7 @@ enable multiple minor modes for the same regexp.")
(add-hook! python-mode 'electric-indent-local-mode)
(add-hook! makefile-mode 'narf|enable-tabs) ; Use normal tabs in makefiles
(add-hook! before-save 'delete-trailing-whitespace)
(add-hook! eldoc-mode (diminish 'eldoc-mode " ?"))
(add-hook! prog-mode 'narf|enable-comment-hard-wrap)
(add-hook! auto-fill-mode (diminish 'auto-fill-function))
(add-hook! special-mode (setq truncate-lines nil))
(add-hook! change-major-mode-hook
(when indent-tabs-mode (whitespace-mode +1)))
@ -121,7 +119,6 @@ enable multiple minor modes for the same regexp.")
;; Plugins ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(use-package undo-tree
:diminish undo-tree-mode
:config
(defalias 'redo #'undo-tree-redo)
(defalias 'undo #'undo-tree-undo)
@ -159,7 +156,6 @@ enable multiple minor modes for the same regexp.")
(use-package smart-forward :commands (smart-up smart-down smart-left smart-right))
(use-package smartparens
:diminish smartparens-mode
:functions sp-insert-pair
:config
(setq sp-autowrap-region nil ; let evil-surround handle this