** Theme
Use the Modus Operandi theme by Protesilaos Stavrou. Its the best theme for Emacs by far, because how clear and readable it is. It is highly customizable, but I just set a few options here.
#+begin_src emacs-lisp
- (setq modus-themes-slanted-constructs t
- modus-themes-bold-constructs t
- modus-themes-mode-line '3d
- modus-themes-scale-headings t
- modus-themes-diffs 'desaturated)
- (load-theme 'modus-vivendi t)
+ (use-package modus-themes
+ :custom
+ (modus-themes-slanted-constructs t)
+ (modus-themes-bold-constructs t)
+ (modus-themes-mode-line '3d)
+ (modus-themes-scale-headings t)
+ (modus-themes-diffs 'desaturated)
+ :config (load-theme 'modus-vivendi t))
#+end_src
** Typography
*** Font
(use-package minions
:config (minions-mode))
#+end_src
-** Ruler
-Show a ruler at a certain number of chars depending on mode.
+** Whitespace mode
+Highlight whitespace and other bad text practices.
#+begin_src emacs-lisp
- (setq display-fill-column-indicator-column 80)
- (global-display-fill-column-indicator-mode)
+ (use-package whitespace
+ :custom (whitespace-style '(face lines-tail)))
+ (dolist (hook '(prog-mode-hook))
+ (add-hook hook (lambda () (whitespace-mode 1))))
#+end_src
** Highlight todo items in comments
-#+begin_src emacs-lisp
++begin_src emacs-lisp
(use-package hl-todo
:straight (hl-todo :type git :host github :repo "tarsius/hl-todo")
:config (global-hl-todo-mode 1))