Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"E242: Can't split a window while closing another" after window is closed #173

Closed
micchy326 opened this issue Aug 16, 2020 · 0 comments
Closed
Labels
bug (Vim) Bug on Vim itself

Comments

@micchy326
Copy link
Contributor

Procedure:

  1. open some text file in vim
  2. execute :Fern . -drawer -toggle -keep
  3. focus to text file
  4. close text file window <C-w>q
  5. "E242: Can't split a window while closing another" is shown

It looks like the s:auto_quit() is called in "BufEnter" during the process of closing the window with q, and that's why it's a failed attempt to do :new in it.

@lambdalisue lambdalisue added the bug (Vim) Bug on Vim itself label Aug 17, 2020
lambdalisue added a commit that referenced this issue Aug 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug (Vim) Bug on Vim itself
Projects
None yet
Development

No branches or pull requests

2 participants