template for latex article

This commit is contained in:
2022-04-14 22:33:13 +02:00
parent 146f6b1d2b
commit faf18c5b52
2 changed files with 102 additions and 3 deletions

View File

@@ -179,8 +179,9 @@ Possible PACKAGE values are `company'."
)
(use-package yasnippet ;; https://elpa.gnu.org/packages/yasnippet.html
:defer 1
:delight (yas-minor-mode "Ys") ;; \u24CE y
:hook ((prog-mode . yas-minor-mode)
(org-mode . yas-minor-mode))
;; see also variable yas-snippet-dirs, the yasnippet-snippets
;; collection dir is added via require 'yasnippet-snipets
:config
@@ -188,8 +189,7 @@ Possible PACKAGE values are `company'."
;; global
;;(yas-global-mode 1)
;; on a per-buffer basis
(yas-reload-all)
(add-hook 'prog-mode-hook #'yas-minor-mode))
(yas-reload-all))
;; use popup menu for yas-choose-value
(use-package popup