Remove doom-modeline

Enable global-visual-line-mode
This commit is contained in:
Evie Litherland-Smith 2024-09-05 17:37:00 +01:00
parent 21f601d87f
commit a001486f56

View file

@ -72,6 +72,7 @@ Configure the look and feel of Emacs
async-shell-command-display-buffer nil async-shell-command-display-buffer nil
compilation-scroll-output t) compilation-scroll-output t)
(global-visual-line-mode +1)
(global-prettify-symbols-mode +1) (global-prettify-symbols-mode +1)
(tool-bar-mode -1) (tool-bar-mode -1)
(scroll-bar-mode -1) (scroll-bar-mode -1)
@ -145,30 +146,12 @@ Configure the look and feel of Emacs
#+end_src #+end_src
*** Modeline *** Modeline
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setopt mode-line-compact 'long)
(which-function-mode +1)
(line-number-mode +1) (line-number-mode +1)
(column-number-mode +1) (column-number-mode +1)
(size-indication-mode +1) (size-indication-mode -1)
(which-function-mode -1)
(add-to-list 'package-selected-packages 'doom-modeline)
(use-package doom-modeline
:if (package-installed-p 'doom-modeline)
:functions (doom-modeline-mode)
:custom
(doom-modeline-env-version t)
(doom-modeline-github nil)
(doom-modeline-gnus t)
(doom-modeline-mu4e t)
(doom-modeline-icon t)
(doom-modeline-irc t)
(doom-modeline-irc-buffers t)
(doom-modeline-lsp t)
(doom-modeline-project-detection 'project)
:init
(doom-modeline-mode +1)
:config
(set-face-attribute 'doom-modeline nil :weight 'normal)
(set-face-attribute 'doom-modeline-buffer-path nil :slant 'normal))
(use-package time (use-package time
:custom :custom