[emacs] Clean up the mode line

This commit is contained in:
Correl Roush 2015-04-02 12:06:10 -04:00
parent c4d8c3e434
commit fd4568e3d6

View file

@ -127,6 +127,7 @@ Helm projectile integration
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package git-gutter (use-package git-gutter
:ensure t :ensure t
:diminish git-gutter-mode
:config :config
(progn (progn
(global-git-gutter-mode t) (global-git-gutter-mode t)
@ -144,6 +145,7 @@ Helm projectile integration
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package magit (use-package magit
:ensure t :ensure t
:diminish magit-auto-revert-mode
:commands (magit-init :commands (magit-init
magit-status magit-status
magit-diff magit-diff
@ -281,7 +283,9 @@ magnitude faster.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package projectile (use-package projectile
:ensure t :ensure t
:config (progn (require 'helm-projectile) :config (progn (setq projectile-mode-line
'(:eval (format " [%s]" (projectile-project-name))))
(require 'helm-projectile)
(helm-projectile-on) (helm-projectile-on)
(projectile-global-mode))) (projectile-global-mode)))
#+END_SRC #+END_SRC
@ -369,6 +373,7 @@ Taken from http://groups.google.com/group/gnu.emacs.gnus/browse_thread/thread/a6
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package latex-extra (use-package latex-extra
:ensure t :ensure t
:diminish latex-extra-mode
:commands latex-extra-mode :commands latex-extra-mode
:init (add-hook 'LaTeX-mode-hook #'latex-extra-mode)) :init (add-hook 'LaTeX-mode-hook #'latex-extra-mode))
#+END_SRC #+END_SRC