Now showing
Emacs: write a custom mode line
About this film
In this video I show how to customise the Emacs mode line (the mode-line-format ) to make it more useful and pretty. Check my dotemacs/dotfiles for actual code samples. Both my Emacs and Linux environments are highly customised and well maintained. Git repo on SourceHut: https://git.sr.ht/~protesilaos/dotfiles Mirrors: GitHub: https://github.com/protesilaos/dotfiles GitLab: https://gitlab.com/protesilaos/dotfiles Mailing list: https://lists.sr.ht/~protesilaos/dotfiles Below is what I included in the *scratch* buffer during the video: ;; The default mode line 🤨 (setq-default mode-line-format '("%e" mode-line-front-space (:propertize ("" mode-line-mule-info mode-line-client mode-line-modified mode-line-remote) display (min-width (5.0))) mode-line-frame-identification mode-line-buffer-identification " " mode-line-position (vc-mode vc-mode) " " mode-line-modes mode-line-misc-info mode-line-end-spaces)) ;; My mode line with the `prot-modeline.el' 🤩 ;; Note that separate to this is my `prot-modeline-subtle-mode'. (setq-default mode-line-format '("%e" prot-modeline-kbd-macro prot-modeline-narrow prot-modeline-input-method prot-modeline-buffer-status " " prot-modeline-buffer-identificati…
Directors & creators
Protesilaos Stavrou
More from this pool