yas snippet for eshell for loop

This commit is contained in:
2024-10-02 09:32:56 -07:00
parent 9122a8bfa0
commit 63b6463bb8
2 changed files with 6 additions and 0 deletions

View File

@@ -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

View File

@@ -0,0 +1,4 @@
#name : Eshell for loop
#key : for
# --
for f in ${1:*} { ${2:echo} "$f"; $3} $0