Reputation: 827
Yasnippet seems to be working but the trigger key is not. I can load snippets, look at snippet tables and M-x yas/expand. However, after typing a trigger key (i.e time) I'd like to expand the snippet with the TAB key which isn't working. I checked the yasnippet.el file and found that the yas-trigger-key is set to . I tried changing it and still couldn't get it working. Anyone have an idea about what's going on? I'm trying to get this working first in LaTeX mode. Yasnippet tells me I should also try C-c C-s but that just seems to insert "\end."
I downloaded Yasnippet via the el-get packager manager. I'm using OSX and emacs 23.4.1
Upvotes: 6
Views: 3367
Reputation: 21461
(add-to-list 'load-path "~/.emacs.d/plugins/yasnippet")
(require 'yasnippet)
(yas-global-mode 1)
Did you put the aforementioned in your .emacs?
Maybe try reinstalling from this recent link
Upvotes: 2