1. Frank Fischer
  2. evil
  3. Issues
Issue #134 resolved

stuck in <E> mode when entering via <V> mode

Keshav Kini
created an issue

Visit a file - start in <N> mode

Type V to go to <V> mode

Type C-z to go to <E> mode

Type C-z to go to <V> mode again

Type ESC

I would expect to be in <N> mode now, but Instead I end up back in <E> mode.

(from the mailing list: http://news.gmane.org/find-root.php?message_id=%3c87ehsyijno.fsf%40gmail.com%3e )

Comments (2)

  1. Frank Fischer repo owner

    Add `evil-previous-state-alist' variable

    This variable contains for each state the state from which it has been activated. A call to `evil-change-to-previous-state' restores the variable `evil-previous-state' according to `evil-previous-state-alist', so successive calls to `evil-change-to-previous-state' go back several steps. This works as long as no cycles are created. This fixes issue #134.

    Wiki macro error: Changeset e82a11fd1cf0 not found.

  2. Log in to comment