From: Ista Zahn <istazahn@gmail.com>
To: Ben <yfefyf@gmail.com>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: How to make ~evil-leader~ work for for ~org-src-mode~?
Date: Tue, 20 Oct 2015 12:37:16 -0400 [thread overview]
Message-ID: <CA+vqiLEi6Sx8trhHYEwsUn2zNVXekqGKMOfiRLoLGCo+dbFkVA@mail.gmail.com> (raw)
In-Reply-To: <CANWW-jJzwLngKVn6o5mtweKoNsbBDCiv4ksiSOVeL5_R_YLurQ@mail.gmail.com>
Hi Ben,
It doesn't work because evil-leader/set-key-for-mode sets keys for
major modes and org-src-mode is a minor mode. Unfortunately I don't
know the answer to your implied question "how do I make it work?", but
that is why it doesn't work.
Best,
Ista
On Tue, Oct 20, 2015 at 10:22 AM, Ben <yfefyf@gmail.com> wrote:
> Dear all,
>
> I want to set some evil-leader keys for org-src-mode with the following
> code:
>
> (evil-leader/set-key-for-mode 'org-src-mode
> "k" 'org-edit-src-abort
> "s" 'org-edit-src-save
> "'" 'org-edit-src-exit)
>
> But it doesn't work. Why is that?
>
> Thanks,
> Ben
prev parent reply other threads:[~2015-10-20 16:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-20 14:22 How to make ~evil-leader~ work for for ~org-src-mode~? Ben
2015-10-20 16:37 ` Ista Zahn [this message]
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=CA+vqiLEi6Sx8trhHYEwsUn2zNVXekqGKMOfiRLoLGCo+dbFkVA@mail.gmail.com \
--to=istazahn@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=yfefyf@gmail.com \
/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).