Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@glepnir
Copy link
Member

@glepnir glepnir commented Dec 18, 2025

Problem:
After botright copen and close this quikfix window, cursor ends up in the wrong window. The problem is fr_child always points to the first (leftmost for FR_ROW, topmost for FR_COL) child frame. When do :vsplit, the new window is created on the left, and frame_insert() updates the parent's fr_child to point to this new left window.

Solution:
Same as help windows - snapshot before open, restore when close.

Problem:
After `botright copen` and close this quikfix window, cursor ends up
in the wrong window. The problem is fr_child always points to the first
(leftmost for FR_ROW, topmost for FR_COL) child frame. When do :vsplit, the new
window is created on the left, and frame_insert() updates the parent's
fr_child to point to this new left window.

Solution:
Same as help windows - snapshot before open, restore when close.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants