From 7c265112e807c7bbe38d88c7175b5bf1f5b41511 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Wed, 2 Nov 2022 21:05:29 +0000 Subject: Add auto-yasnippet --- .emacs.d/lisp/init-editor.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el index a80e443..37ecaf6 100644 --- a/.emacs.d/lisp/init-editor.el +++ b/.emacs.d/lisp/init-editor.el @@ -193,5 +193,17 @@ ("C-a" . mwim-beginning) ("C-e" . mwim-end)) +(use-package auto-yasnippet + :bind + ("C-c C-y w" . aya-create) + ("C-c C-y TAB" . aya-expand) + ("C-c C-y SPC" . aya-expand-from-history) + ("C-c C-y d" . aya-delete-from-history) + ("C-c C-y c" . aya-clear-history) + ("C-c C-y n" . aya-next-in-history) + ("C-c C-y p" . aya-previous-in-history) + ("C-c C-y s" . aya-persist-snippet) + ("C-c C-y o" . aya-open-line)) + (provide 'init-editor) ;;; init-editor.el ends here -- cgit 1.4.1-2-gfad0