summaryrefslogtreecommitdiffstats
path: root/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'init.org')
-rw-r--r--init.org27
1 files changed, 27 insertions, 0 deletions
diff --git a/init.org b/init.org
index 9cb58ac..194a4b5 100644
--- a/init.org
+++ b/init.org
@@ -1167,6 +1167,33 @@ instead.
:bind (:map haskell-mode-map
("C-c l l" . hs-lint)))
#+end_src
+
+** SGML and HTML
+
+#+begin_src emacs-lisp
+(use-package sgml-mode
+ :config
+ (setq sgml-basic-offset 4))
+#+end_src
+
+** Web mode
+
+#+begin_src emacs-lisp
+(use-package web-mode
+ :mode "\\.html\\'")
+#+end_src
+
+** Emmet mode
+
+#+begin_src emacs-lisp
+(use-package emmet-mode
+ :bind* (("C-)" . emmet-next-edit-point)
+ ("C-(" . emmet-prev-edit-point))
+ :init
+ (setq emmet-move-cursor-between-quotes t)
+ :hook (web-mode css-mode html-mode sgml-mode))
+#+end_src
+
* Emacs Enhancements
** [[https://github.com/justbur/emacs-which-key][which-key]]