From e61e15b959fd6e331a7ec70a68a559f144ba5863 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sun, 13 Aug 2023 01:11:13 +0200 Subject: emacs: Add ‘emmet-mode’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/emacs/config.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to '.config/emacs/config.org') 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 -- cgit v1.2.3