Emacs: Trunkate all but file name in modeline.
This commit is contained in:
parent
5e43573c16
commit
c1ada37dc5
|
@ -1,6 +1,6 @@
|
||||||
;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*-
|
;;; appearance.el --- Configure appearance. -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Time-stamp: <2020-11-18T18:37:47+0100>
|
;; Time-stamp: <2020-11-21T22:03:10+0100>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@
|
||||||
:after (all-the-icons)
|
:after (all-the-icons)
|
||||||
:init (column-number-mode t) ; Show column number.
|
:init (column-number-mode t) ; Show column number.
|
||||||
:custom ((doom-modeline-minor-modes t) ; Show minor modes.
|
: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.
|
(mode-line-percent-position nil) ; Don't display percentage.
|
||||||
(doom-modeline-buffer-state-icon nil)) ; Don't display save icon.
|
(doom-modeline-buffer-state-icon nil)) ; Don't display save icon.
|
||||||
:hook (after-init . doom-modeline-mode))
|
:hook (after-init . doom-modeline-mode))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user