Dan Davison <
davison@stats.ox.ac.uk> writes:
>> Thanks! I'm having trouble triggering the yasnippets using the TAB key, so
> I'm
>> just using the GUI menu.
>>
>> Do you literally type "src" (no quotes), then press Tab?
>
> Yeah, but there's some magic code needed, which is also on Bernt's
> page.
>
> (add-hook 'org-mode-hook
> (lambda ()
> ;; yasnippet
> (make-variable-buffer-local 'yas/trigger-key)
> (setq yas/trigger-key [tab])
> (define-key yas/keymap [tab] 'yas/next-field-group)))
I'm guessing what you really want there is