[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: M-x in Evil mode
From: |
Frank Haun |
Subject: |
Re: M-x in Evil mode |
Date: |
30 Nov 2015 22:40:29 -0000 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (windows-nt) |
On Mon, 30 Nov 2015 21:34:07 +0000, Eric S Fraga wrote:
> On Saturday, 28 Nov 2015 at 17:20, wiehen@gmail.com wrote:
>>
>> I am new to emacs, so my doubt may be really basic. But I could not
>> solve it with research.
>>
>> How am I supposed to execute commands (M-x), when working in Evil
>> mode, as Vim uses <ESC> already?
>
> You have had other answers but another option is to use the \ evil
> command which allows you to execute any emacs key stroke as if evil were
> not running:
>
> ,----[ C-h k \ ]
> | \ runs the command evil-execute-in-emacs-state, which is an
> | interactive compiled Lisp function in `evil-commands.el'.
> |
> | It is bound to \.
> |
> | (evil-execute-in-emacs-state)
> |
> | Execute the next command in Emacs state.
> `----
Ah yes, that's nice and does also in visual state.
Frank