Commit f321e21d authored by David Sveningsson's avatar David Sveningsson
Browse files

emacs: testing doom-themes and doom-modeline

parent 8fc65b90
......@@ -67,7 +67,20 @@
(format " in [%s]" project-name))))))
#+END_SRC
* Theme
** Doom
#+BEGIN_SRC emacs-lisp
(use-package doom-themes
:ensure t
:config
(setq doom-themes-enable-bold t
doom-themes-enable-italic t
doom-themes-treemacs-theme "doom-colors")
(load-theme 'doom-solarized-dark t)
(doom-themes-treemacs-config)
(doom-themes-org-config))
#+END_SRC
** Solarized
#+BEGIN_SRC emacs-lisp :tangle no
(use-package solarized-theme
:ensure t
:config
......@@ -139,7 +152,7 @@
(define-key read-expression-map (kbd "C-r") 'counsel-expression-history)
))
#+END_SRC
** Mode-line: minions / moody
** Mode-line
*** Minions
A minor-mode menu for the mode line.
#+BEGIN_SRC emacs-lisp
......@@ -154,7 +167,7 @@ A minor-mode menu for the mode line.
#+END_SRC
*** Moody
Tabs and ribbons for the mode line.
#+BEGIN_SRC emacs-lisp
#+BEGIN_SRC emacs-lisp :tangle no
(use-package moody
:if window-system
:ensure t
......@@ -162,6 +175,15 @@ Tabs and ribbons for the mode line.
(moody-replace-mode-line-buffer-identification)
(moody-replace-vc-mode))
#+END_SRC
*** doom-modeline
#+BEGIN_SRC emacs-lisp
(use-package doom-modeline
:ensure t
:hook (after-init . doom-modeline-mode)
:config
(setq doom-modeline-buffer-file-name-style 'relative-to-project)
(setq doom-modeline-vcs-max-length 32))
#+END_SRC
** Navigation
*** Avy
Navigate by searching for a letter on the screen and jumping to it.
......@@ -212,11 +234,11 @@ Tabs and ribbons for the mode line.
Syntax checking. https://www.flycheck.org/en/latest/
#+BEGIN_SRC emacs-lisp
(use-package flycheck
:ensure t
:ensure t
:diminish flycheck-mode
:hook (after-init . global-flycheck-mode)
:config
(setq-default flycheck-disabled-checkers '(javascript-standard)))
(setq-default flycheck-disabled-checkers '(javascript-standard)))
#+END_SRC
Jump to errors with ~avy~. ~C-c ! g~.
#+BEGIN_SRC emacs-lisp
......@@ -559,4 +581,3 @@ Default configuration.
(global-prettify-symbols-mode +1)
#+END_SRC
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment