emacs-evil / emacs-evil/evil

evil-window-delete makes wrong window active

Open
#697 1 comment 0 reactions 0 assignees View on GitHub
bug major
Dominant language
Emacs Lisp
Stars
3.9k
Forks
307
PR merge metrics
No merged PRs in 30d

Description

Originally reported by: **Anonymous**

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

evil-window-delete doesn't put the cursor into the same window that vim would. This matters for making temporary splits, among other things.

To reproduce, start with a single, full frame window.

1. :vsp
2. ^w w
3. :sp
4. ^w c

Expected behavior: cursor is in the window on the right.

Actual behavior: cursor is in the window on the left.

----------------------------------------
- Bitbucket: https://bitbucket.org/lyro/evil/issue/697

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.