From abf0b602add8139d29454b3cbf6fd8f66ea19e49 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Fri, 31 Jul 2020 18:06:40 +0200 Subject: [PATCH] Add yasnippet mode, enable in more modes --- .emacs.d/config.org | 4 ++-- .emacs.d/snippets/fundamental-mode/mode | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .emacs.d/snippets/fundamental-mode/mode diff --git a/.emacs.d/config.org b/.emacs.d/config.org index 84a6b67..ccf8656 100644 --- a/.emacs.d/config.org +++ b/.emacs.d/config.org @@ -450,9 +450,9 @@ On the fly syntax checking. (use-package yasnippet :defer t :hook - ((org-mode + ((fundamental-mode prog-mode - tex-mode) + text-mode) . yas-minor-mode) :custom (yas-prompt-functions '(yas-ido-prompt diff --git a/.emacs.d/snippets/fundamental-mode/mode b/.emacs.d/snippets/fundamental-mode/mode new file mode 100644 index 0000000..dd0147e --- /dev/null +++ b/.emacs.d/snippets/fundamental-mode/mode @@ -0,0 +1,5 @@ +# -*- mode: snippet -*- +# name: mode +# key: