commit d32706b3f4026e026d91983fe611f2fa1566c370 parent 4aba486146cac334975220638040cee8cd6a6104 Author: Alex Balgavy <alex@balgavy.eu> Date: Wed, 11 Aug 2021 11:35:15 +0200 emacs: rainbow-mode to show hex colors Diffstat:
M | emacs/config.org | | | 8 | ++++++++ |
M | emacs/custom.el | | | 2 | +- |
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/emacs/config.org b/emacs/config.org @@ -293,6 +293,14 @@ anki-editor doesn't provide a keymap so I have to set one up here: ("C-c c" . anki-editor-cloze-dwim))) #+end_src +** rainbow-mode +'rainbow-mode' lets you visualise hex colors: + +#+begin_src emacs-lisp + (use-package rainbow-mode + :hook (emacs-lisp-mode . rainbow-mode)) +#+end_src + * Interface ** Messages Hide some messages I don't need. diff --git a/emacs/custom.el b/emacs/custom.el @@ -8,7 +8,7 @@ '(default-input-method "czech-qwerty") '(package-hidden-regexps '("^I")) '(package-selected-packages - '(edit-indirect helm-ag expand-region elpher sr-speedbar 2048-game vterm notmuch magit lean-mode markdown-mode anki-connect anki-editor doom-themes all-the-icons use-package-ensure which-key use-package org-bullets helm exec-path-from-shell))) + '(rainbow-mode edit-indirect helm-ag expand-region elpher sr-speedbar 2048-game vterm notmuch magit lean-mode markdown-mode anki-connect anki-editor doom-themes all-the-icons use-package-ensure which-key use-package org-bullets helm exec-path-from-shell))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.