From: Kyle Sexton <ks@mocker.org>
To: org-mode <emacs-orgmode@gnu.org>
Subject: YASnippet fix not working
Date: Sun, 02 Aug 2009 14:21:58 -0500 [thread overview]
Message-ID: <87fxcanhrd.wl%ks@mocker.org> (raw)
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
next reply other threads:[~2009-08-02 19:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-02 19:21 Kyle Sexton [this message]
2009-08-02 20:30 ` YASnippet fix not working Eric Schulte
2009-08-02 22:59 ` Eric S Fraga
2009-08-03 3:05 ` Kyle Sexton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fxcanhrd.wl%ks@mocker.org \
--to=ks@mocker.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).