summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-08-13 01:11:13 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-08-13 01:11:13 +0200
commite61e15b959fd6e331a7ec70a68a559f144ba5863 (patch)
tree260c30c72f2bb00ed2425ccd8b880f16c03490bd /.config
parentf8216bb985e1c21a2eb6389b787695580005ddd2 (diff)
emacs: Add ‘emmet-mode’
Diffstat (limited to '.config')
-rw-r--r--.config/emacs/config.org12
1 files changed, 12 insertions, 0 deletions
diff --git a/.config/emacs/config.org b/.config/emacs/config.org
index ad28f1b..fd071e0 100644
--- a/.config/emacs/config.org
+++ b/.config/emacs/config.org
@@ -894,6 +894,18 @@ why they won’t just move on from it I have no idea. I’ll just disable snipp
#+END_SRC
+*** Emmet-Mode
+
+This mode is super useful for writing HTML. It lets me expand something like
+‘figure>(figcaption>code)+pre’ into an actual HTML structure.
+
+#+BEGIN_SRC elisp
+
+ (use-package emmet-mode
+ :hook (html-mode . emmet-mode))
+
+#+END_SRC
+
** Extra Modes
Some modes aren’t installed by default with Emacs, so let’s fetch them