all repos — archive/dotfiles @ 05d58b13e4653693b5da49d01d0440747538b242

Superseded by nixfiles

Emacs: Move some mode-line information to the header
Alan Pearce alan@alanpearce.co.uk
Sun, 13 Jul 2014 12:24:23 +0100
commit

05d58b13e4653693b5da49d01d0440747538b242

parent

f423c486e4dedad33b10404d121ee08d541a3781

1 files changed, 14 insertions(+), 1 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-emacs/emacs.d/init.el
@@ -537,7 +537,20 @@ (req-package smart-mode-line   :require solarized-theme
   :config (progn
             (setq sml/theme 'respectful)
-            (sml/setup)))
+            (sml/setup)
+            (setq-default
+             header-line-format
+             '(""
+               (sml/buffer-identification sml/buffer-identification
+                                          (:eval
+                                           (sml/generate-buffer-identification)))
+               (vc-mode vc-mode)
+               " "
+               sml/pos-id-separator
+               mode-line-misc-info)
+             mode-line-format
+             '("%e" mode-line-front-space mode-line-mule-info mode-line-client mode-line-modified mode-line-auto-compile mode-line-remote mode-line-frame-identification sml/pos-id-separator mode-line-position
+               sml/pre-modes-separator mode-line-modes mode-line-end-spaces))))
 ;;;; Modes
 
 ;;;; systemd files