Browse Source

Add yasnippet mode, enable in more modes

master
Riyyi 4 years ago
parent
commit
abf0b602ad
  1. 4
      .emacs.d/config.org
  2. 5
      .emacs.d/snippets/fundamental-mode/mode

4
.emacs.d/config.org

@ -450,9 +450,9 @@ On the fly syntax checking.
(use-package yasnippet (use-package yasnippet
:defer t :defer t
:hook :hook
((org-mode ((fundamental-mode
prog-mode prog-mode
tex-mode) text-mode)
. yas-minor-mode) . yas-minor-mode)
:custom :custom
(yas-prompt-functions '(yas-ido-prompt (yas-prompt-functions '(yas-ido-prompt

5
.emacs.d/snippets/fundamental-mode/mode

@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: mode
# key: <mode
# --
# -*- mode: ${1:conf} -*-
Loading…
Cancel
Save