I'm trying to get YASnippet working with org-mode, but the fix I've
found online doesn't seem to be working.

--snip--
(add-hook 'org-mode-hook
          (lambda ()
            (org-set-local 'yas/trigger-key [tab])
            (define-key yas/keymap [tab] 'yas/next-field-group)))
--snip--

I've added the above code to my emacs init file.  When I run C-h k
<tab> in an org-file, it still reports that org-cycle is bound to
tab.

The modeline while working on an org file shows that YASnippet is
running, and manually executing M-x yas/expand will expand the
org-mode hooks that are defined.

For some reason I just can't remap that tab key!

Thanks for any help, pretty soon I'll just remap it to a different
key. :)

--
Kyle Sexton


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to