2012-12-28 16:23:04 +00:00
|
|
|
(require 'diminish)
|
2013-02-19 20:40:54 +00:00
|
|
|
|
|
|
|
;; Major modes abbrev --------------------------------------------------------
|
|
|
|
|
|
|
|
(add-hook 'emacs-lisp-mode-hook
|
|
|
|
(lambda ()
|
|
|
|
(setq mode-name "Elisp |")))
|
|
|
|
|
|
|
|
(add-hook 'erlang-mode-hook
|
|
|
|
(lambda ()
|
|
|
|
(setq mode-name "Erl |")))
|
|
|
|
|
|
|
|
(add-hook 'python-mode-hook
|
|
|
|
(lambda ()
|
|
|
|
(setq mode-name "Py |")))
|
|
|
|
|
|
|
|
;; Minor modes abbrev --------------------------------------------------------
|
|
|
|
|
2013-03-22 04:01:52 +00:00
|
|
|
(when (display-graphic-p)
|
|
|
|
(eval-after-load "auto-complete"
|
|
|
|
'(diminish 'auto-complete-mode "[☂]"))
|
|
|
|
(eval-after-load "autopair"
|
|
|
|
'(diminish 'autopair-mode "[⒜]"))
|
|
|
|
(eval-after-load "centered-cursor-mode"
|
|
|
|
'(diminish 'centered-cursor-mode "[⊙]"))
|
|
|
|
(eval-after-load "eproject"
|
|
|
|
'(diminish 'eproject-mode "[⚑²]"))
|
|
|
|
(eval-after-load "projectile"
|
|
|
|
'(diminish 'projectile-mode "[⚑]"))
|
|
|
|
(eval-after-load "flymake-patch"
|
|
|
|
'(diminish 'flymake-mode "[⿃]"))
|
|
|
|
(eval-after-load "flyspell"
|
|
|
|
'(diminish 'flyspell-mode "[abc]"))
|
|
|
|
(eval-after-load "paredit"
|
|
|
|
'(diminish 'paredit-mode "[⒫]"))
|
|
|
|
(eval-after-load "tagedit"
|
|
|
|
'(diminish 'tagedit-mode "[⒯]"))
|
|
|
|
(eval-after-load "yasnippet"
|
|
|
|
'(diminish 'yas-minor-mode "[♻]"))
|
|
|
|
)
|
2012-12-28 16:23:04 +00:00
|
|
|
|
2013-01-28 17:31:07 +00:00
|
|
|
|
2013-02-19 20:40:54 +00:00
|
|
|
;; Minor Mode (hidden) ------------------------------------------------------
|
2013-01-04 20:10:31 +00:00
|
|
|
|
2012-12-30 17:18:08 +00:00
|
|
|
(eval-after-load 'elisp-slime-nav
|
|
|
|
'(diminish 'elisp-slime-nav-mode))
|
|
|
|
|
2013-02-19 20:40:54 +00:00
|
|
|
(eval-after-load "hi-lock"
|
|
|
|
'(diminish 'hi-lock-mode))
|
2012-12-28 16:23:04 +00:00
|
|
|
|
2013-02-19 20:40:54 +00:00
|
|
|
(eval-after-load "rainbow-mode"
|
|
|
|
'(diminish 'rainbow-mode))
|
|
|
|
|
|
|
|
(eval-after-load "undo-tree"
|
|
|
|
'(diminish 'undo-tree-mode))
|
2013-03-14 04:43:34 +00:00
|
|
|
|
2013-03-15 03:04:42 +00:00
|
|
|
(eval-after-load "helm-mode"
|
2013-03-14 04:43:34 +00:00
|
|
|
'(diminish 'helm-mode))
|