From ae45e8744dc2a8d06a39d28e64cb55b06ba8c077 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 23 Jul 2021 21:49:43 +0100 Subject: (Emacs)+html auto insert template --- Emacs/.config/emacs/config.org | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 3723462..18a1091 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -846,7 +846,39 @@ as well. #+begin_src emacs-lisp (use-package autoinsert :straight nil - :hook (after-init-hook . auto-insert-mode)) + :hook (after-init-hook . auto-insert-mode) + :config + (add-to-list + 'auto-insert-alist + '(("\\.html\\'" . "HTML Skeleton") + "" + " + + + + + "(read-string "Enter title: ") | """ + + + + + + + + + + + +" + _ +" +"))) #+end_src *** Yasnippet default Setup global mode after evil mode has been loaded -- cgit v1.2.3-13-gbd6f