diff options
author | 2018-09-02 12:11:25 -0400 | |
---|---|---|
committer | 2018-09-02 12:11:25 -0400 | |
commit | d98421d58e0407f3a08259259f0dd9ab09163874 (patch) | |
tree | 294b71479c71716dd1db99931cc19f0927b111e7 /init.org | |
parent | 5ebcc2cd35124ac799405936464f70523962a51f (diff) | |
download | configs-d98421d58e0407f3a08259259f0dd9ab09163874.tar.gz configs-d98421d58e0407f3a08259259f0dd9ab09163874.tar.xz configs-d98421d58e0407f3a08259259f0dd9ab09163874.zip |
[emacs] assimilate web-mode and emmet-mode for better web dev xp
TODO: change indentation offsets to 2
Diffstat (limited to '')
-rw-r--r-- | init.org | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -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]] |