From b39d7e77db0e10dadd0f7bca0eb9a359272df8f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Alvari=C3=B1o?= Date: Tue, 12 Apr 2022 10:09:11 +0200 Subject: [PATCH] Add emmet mode for markup languages --- myconfig.org | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/myconfig.org b/myconfig.org index 45ee898..3b98c5c 100644 --- a/myconfig.org +++ b/myconfig.org @@ -1475,6 +1475,23 @@ Usamos =pyenv= para gestionar los /virtualenv/ ) #+end_src +** emmet-mode +- [[https://github.com/smihica/emmet-mode][emmet github]] +- [[https://cestlaz.github.io/posts/using-emacs-34-ibuffer-emmet/][Zemansky and emmet]] +- [[https://readingworldmagazine.com/emacs/2020-08-08-emacs-emmet-mode-yasnippet/][Emmet (a more complex config)]] + +#+begin_src emacs-lisp + (use-package emmet-mode + :after (web-mode css-mode sgml-mode) + :config + (add-hook 'sgml-mode-hook 'emmet-mode) ;; Auto-start on any markup modes + (add-hook 'web-mode-hook 'emmet-mode) ;; Auto-start on any markup modes + (add-hook 'css-mode-hook 'emmet-mode) ;; enable Emmet's css abbreviation. + :bind + ("C-j" . emmet-expand-line) + ) +#+end_src + * ess (Emacs Speak Statistics) You *must* have R installed in your system, otherwise this package is useless.