Some newlines for nicer spacing
This commit is contained in:
parent
a66680f698
commit
a7d697cf28
|
@ -780,22 +780,28 @@ This way whenever fonts are missing, after Doom's UI has initialised, a warning
|
||||||
listing the missing fonts should appear for at least half a second.
|
listing the missing fonts should appear for at least half a second.
|
||||||
|
|
||||||
**** Theme and modeline
|
**** Theme and modeline
|
||||||
|
|
||||||
~doom-one~ is nice and all, but I find the ~vibrant~ variant nicer. Oh, and with the
|
~doom-one~ is nice and all, but I find the ~vibrant~ variant nicer. Oh, and with the
|
||||||
nice selection doom provides there's no reason for me to want the defaults.
|
nice selection doom provides there's no reason for me to want the defaults.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq doom-theme 'doom-vibrant)
|
(setq doom-theme 'doom-vibrant)
|
||||||
(remove-hook 'window-setup-hook #'doom-init-theme-h)
|
(remove-hook 'window-setup-hook #'doom-init-theme-h)
|
||||||
(add-hook 'after-init-hook #'doom-init-theme-h 'append)
|
(add-hook 'after-init-hook #'doom-init-theme-h 'append)
|
||||||
(delq! t custom-theme-load-path)
|
(delq! t custom-theme-load-path)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
However, by default ~red~ text is used in the ~modeline~, so let's make that orange
|
However, by default ~red~ text is used in the ~modeline~, so let's make that orange
|
||||||
so I don't feel like something's gone /wrong/ when editing files.
|
so I don't feel like something's gone /wrong/ when editing files.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(custom-set-faces!
|
(custom-set-faces!
|
||||||
'(doom-modeline-buffer-modified :foreground "orange"))
|
'(doom-modeline-buffer-modified :foreground "orange"))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
While we're modifying the modeline, =LF UTF-8= is the default file encoding, and
|
While we're modifying the modeline, =LF UTF-8= is the default file encoding, and
|
||||||
thus not worth noting in the modeline. So, let's conditionally hide it.
|
thus not worth noting in the modeline. So, let's conditionally hide it.
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(defun doom-modeline-conditional-buffer-encoding ()
|
(defun doom-modeline-conditional-buffer-encoding ()
|
||||||
"We expect the encoding to be LF UTF-8, so only show the modeline when this is not the case"
|
"We expect the encoding to be LF UTF-8, so only show the modeline when this is not the case"
|
||||||
|
@ -807,6 +813,7 @@ thus not worth noting in the modeline. So, let's conditionally hide it.
|
||||||
|
|
||||||
(add-hook 'after-change-major-mode-hook #'doom-modeline-conditional-buffer-encoding)
|
(add-hook 'after-change-major-mode-hook #'doom-modeline-conditional-buffer-encoding)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
**** Miscellaneous
|
**** Miscellaneous
|
||||||
Relative line numbers are fantastic for knowing how far away line numbers are,
|
Relative line numbers are fantastic for knowing how far away line numbers are,
|
||||||
then =ESC 12 <UP>= gets you exactly where you think.
|
then =ESC 12 <UP>= gets you exactly where you think.
|
||||||
|
|
Loading…
Reference in New Issue