emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* YASnippet fix not working
@ 2009-08-02 19:21 Kyle Sexton
  2009-08-02 20:30 ` Eric Schulte
  2009-08-02 22:59 ` Eric S Fraga
  0 siblings, 2 replies; 4+ messages in thread
From: Kyle Sexton @ 2009-08-02 19:21 UTC (permalink / raw)
  To: org-mode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-03  3:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-02 19:21 YASnippet fix not working Kyle Sexton
2009-08-02 20:30 ` Eric Schulte
2009-08-02 22:59 ` Eric S Fraga
2009-08-03  3:05   ` Kyle Sexton

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).