summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-07-13 12:24:23 +0100
committerAlan Pearce2014-07-13 12:24:23 +0100
commit05d58b13e4653693b5da49d01d0440747538b242 (patch)
tree19f866b19a58f38b293c0f8110951d2003b1b837 /tag-emacs
parentf423c486e4dedad33b10404d121ee08d541a3781 (diff)
downloaddotfiles-05d58b13e4653693b5da49d01d0440747538b242.tar.lz
dotfiles-05d58b13e4653693b5da49d01d0440747538b242.tar.zst
dotfiles-05d58b13e4653693b5da49d01d0440747538b242.zip
Emacs: Move some mode-line information to the header
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el15
1 files changed, 14 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index f8f82d2..0da15cb 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -537,7 +537,20 @@
   :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