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

bug: removing open file mangles window selector functionality #512

Open
brandon1024 opened this issue Oct 25, 2024 · 1 comment
Open

bug: removing open file mangles window selector functionality #512

brandon1024 opened this issue Oct 25, 2024 · 1 comment

Comments

@brandon1024
Copy link
Contributor

Issue Description

Whenever you remove a file (<plugin>(fern-action-remove)) that happens to be the only file open in a window, the file is deleted, the buffer is unloaded, the window is closed, and the fern window is adjusted to fill the screen. This works as expected.

However when this happens, the<plugin>(fern-action-open:select) mapping no longer works as expected. It offers to open files in the fern window too, though normally it doesn't offer this window to be used. I haven't figured out how to work around this, aside from reloading vim. A bit annoying.

You can see what I mean from the screenshot below. Usually it doens't offer to open in the Fern window.

image

@lambdalisue
Copy link
Owner

Please write a minimal vimrc and step by step procedure to reproduce that situation.

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

No branches or pull requests

2 participants