diff --git a/thoom-emacs/init.el b/thoom-emacs/init.el index 3419474..ac5fd29 100644 --- a/thoom-emacs/init.el +++ b/thoom-emacs/init.el @@ -406,10 +406,12 @@ (add-hook 'completion-at-point-functions #'cape-dabbrev) (add-hook 'completion-at-point-functions #'cape-file) (add-hook 'completion-at-point-functions #'cape-elisp-block)) + ;;;; yasnippet (use-package yasnippet :ensure t :init + (require 'em-cmpl) (yas-global-mode 1)) ;;; Appearance diff --git a/thoom-emacs/snippets/eshell-mode/for b/thoom-emacs/snippets/eshell-mode/for new file mode 100644 index 0000000..bfa3b35 --- /dev/null +++ b/thoom-emacs/snippets/eshell-mode/for @@ -0,0 +1,4 @@ +#name : Eshell for loop +#key : for +# -- +for f in ${1:*} { ${2:echo} "$f"; $3} $0 \ No newline at end of file