Thanks, Michael Markert! That's what I want!


On Sun, Nov 25, 2012 at 7:00 PM, <implementations-list-request@lists.ourproject.org> wrote:
Send implementations-list mailing list submissions to
        implementations-list@lists.ourproject.org

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list

or, via email, send a message with subject or body 'help' to
        implementations-list-request@lists.ourproject.org

You can reach the person managing the list at
        implementations-list-owner@lists.ourproject.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of implementations-list digest..."


Today's Topics:

   1. Re: implementations-list Digest, Vol 49, Issue 11
      (Michael Markert)


----------------------------------------------------------------------

Message: 1
Date: Sun, 25 Nov 2012 05:37:20 +0100
From: Michael Markert <markert.michael@googlemail.com>
Subject: Re: implementations-list Digest, Vol 49, Issue 11
To: vi/Vim emulation in Emacs
        <implementations-list@lists.ourproject.org>
Message-ID: <87624uxpq7.fsf@googlemail.com>
Content-Type: text/plain; charset="us-ascii"

On Sun, Nov 25 2012 (05:02), lv yiwang <lvyiwang.com@gmail.com> wrote:

> (global-unset-key "\C-o")
> (global-set-key "\C-o" 'evil-execute-in-normal-state)
> The above setting has a lot of bugs ~ And I don't know why ~ So, I
> write the code bellow:

[22 lines snipped]

Let me get this straight: You want to set C-o to
`evil-execute-in-normal-state` in emacs-state?

This should do it:

    (define-key evil-emacs-state-map (kbd "C-o") 'evil-execute-in-normal-state)

Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : https://lists.ourproject.org/pipermail/implementations-list/attachments/20121125/b06bd881/attachment-0001.pgp

------------------------------

_______________________________________________
implementations-list mailing list
implementations-list@lists.ourproject.org
https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list


End of implementations-list Digest, Vol 49, Issue 13
****************************************************