Emacs: Trunkate all but file name in modeline.

This commit is contained in:
tastytea 2020-11-21 23:32:39 +01:00
parent 5e43573c16
commit c1ada37dc5
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-11-18T18:37:47+0100>
;; Time-stamp: <2020-11-21T22:03:10+0100>
;;; Commentary:
@ -97,7 +97,7 @@
:after (all-the-icons)
:init (column-number-mode t) ; Show column number.
:custom ((doom-modeline-minor-modes t) ; Show minor modes.
(doom-modeline-buffer-file-name-style 'truncate-except-project)
(doom-modeline-buffer-file-name-style 'truncate-all)
(mode-line-percent-position nil) ; Don't display percentage.
(doom-modeline-buffer-state-icon nil)) ; Don't display save icon.
:hook (after-init . doom-modeline-mode))