unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: help-gnu-emacs@gnu.org
Subject: Re: M-x in Evil mode
Date: Mon, 30 Nov 2015 21:34:07 +0000	[thread overview]
Message-ID: <87oaeb894g.fsf@delle7240.chemeng.ucl.ac.uk> (raw)
In-Reply-To: 1179e62f-668f-4cb0-9d9b-555b2146a97b@googlegroups.com

On Saturday, 28 Nov 2015 at 17:20, wiehen@gmail.com wrote:
> Hi.
>
> 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.
| 
| [back]
`----

-- 
: Eric S Fraga, GnuPG: 0xFFFCF67D
: in Emacs 24.5.1 + Ma Gnus v0.14 + evil-git-ff74cfb
: BBDB version 3.1.2 (2015-10-28 10:47:01+00:00)




  parent reply	other threads:[~2015-11-30 21:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-29  1:20 M-x in Evil mode wiehen
2015-11-29  5:39 ` Teemu Likonen
2015-11-29  6:27   ` Random832
2015-11-29 22:00 ` Frank Haun
2015-11-30 21:34 ` Eric S Fraga [this message]
2015-11-30 22:40   ` Frank Haun

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oaeb894g.fsf@delle7240.chemeng.ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=help-gnu-emacs@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.
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).