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
:defer t
:hook
((org-mode
((fundamental-mode
prog-mode
tex-mode)
text-mode)
. yas-minor-mode)
:custom
(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