diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-11-02 21:05:29 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-11-02 21:05:29 +0000 |
commit | 7c265112e807c7bbe38d88c7175b5bf1f5b41511 (patch) | |
tree | a5821334612feb5d657c7f42b98fcfa0dd3b1c63 | |
parent | c9a8f5d08fc6d8306b905a79d88ee7e591eebbf5 (diff) | |
download | dotfiles-7c265112e807c7bbe38d88c7175b5bf1f5b41511.tar.gz |
Add auto-yasnippet
-rw-r--r-- | .emacs.d/lisp/init-editor.el | 12 |
1 files changed, 12 insertions, 0 deletions
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 |