From 29ebef34fc8a7f38465384f712e45dadaf3ca1fc Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 28 Mar 2019 21:47:43 +0100 Subject: [PATCH] Don't truncate filenames so much in modeline. --- init.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.el b/init.el index 0b97cfc..bec602b 100644 --- a/init.el +++ b/init.el @@ -1,5 +1,5 @@ ;;; init.el --- tastytea's Emacs init file. -;;; Time-stamp: <2019-03-28 21:21:09 CET> +;;; Time-stamp: <2019-03-28 21:42:32 CET> ;;; Commentary: ;;; I am using this file with Emacs 26, but most of it will probably work with @@ -345,7 +345,8 @@ (column-number-mode t) ; Show column numbers in modeline. :config (setq doom-modeline-minor-modes t - doom-modeline-buffer-file-name-style 'relative-to-project + ;; doom-modeline-buffer-file-name-style 'relative-to-project + doom-modeline-buffer-file-name-style 'truncate-upto-project doom-modeline-minor-modes nil) :hook (after-init . doom-modeline-mode))