Skip to content

Fixed case where file didn't open in last window#71

Open
auwsmit wants to merge 2 commits into
yegappan:masterfrom
auwsmit:open-file-bugfix
Open

Fixed case where file didn't open in last window#71
auwsmit wants to merge 2 commits into
yegappan:masterfrom
auwsmit:open-file-bugfix

Conversation

@auwsmit

@auwsmit auwsmit commented Jul 2, 2025

Copy link
Copy Markdown

Fixed instances where opening a file didn't open it in the last window that MRU was opened from.

This bug happened because bufwinnr() returns the first window found for a given buffer, which meant that MRU would potentially open files in the wrong window, only if you had multiple windows with the same buffer which MRU was opened from.

issue reference: #70

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.

1 participant