From 05d58b13e4653693b5da49d01d0440747538b242 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 13 Jul 2014 12:24:23 +0100 Subject: Emacs: Move some mode-line information to the header --- tag-emacs/emacs.d/init.el | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index f8f82d2c..0da15cb5 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 -- cgit 1.4.1