diff --git a/lisp/editor.el b/lisp/editor.el index fd0b518..64b3dc5 100644 --- a/lisp/editor.el +++ b/lisp/editor.el @@ -14,13 +14,14 @@ (global-visual-line-mode 1) ; Prevent wrapping of words ;; yasnippet - A template system for Emacs -;; (use-package yasnippet -;; :config -;; (yas-reload-all) -;; (yas-global-mode)) +(use-package yasnippet + :config + (yas-reload-all) + (add-hook 'prog-mode-hook #'yas-minor-mode) + (add-hook 'org-mode-hook #'yas-minor-mode)) ;; yasnippet-snippets - A snippet collection package by AndreaCotti -;; (use-package yasnippet-snippets -;; :after yasnippet) +(use-package yasnippet-snippets + :after yasnippet) ;; evil - A Vi Layer inside of Emacs (use-package evil