Skip to content

fix: disable switching buffer in file panel#169

Merged
dlyongemallo merged 1 commit into
dlyongemallo:mainfrom
jakubbortlik:fix/disable-switching-buffer-in-panel
May 14, 2026
Merged

fix: disable switching buffer in file panel#169
dlyongemallo merged 1 commit into
dlyongemallo:mainfrom
jakubbortlik:fix/disable-switching-buffer-in-panel

Conversation

@jakubbortlik
Copy link
Copy Markdown

The winfixbuf options locks a window to a particular buffer. In this PR, I've enabled this option for the file panel, which prevents the user from accidentally opening a different buffer in the panel window.

Personally, I never want to open a different buffer in the file panel, but I'm not sure if this feature would be universally accepted, so maybe it should be made configurable.

@dlyongemallo dlyongemallo merged commit 3a651f2 into dlyongemallo:main May 14, 2026
7 checks passed
@dlyongemallo
Copy link
Copy Markdown
Owner

@jakubbortlik Thanks! I don't think a config option is necessary here, as I doubt any user wants to purposely clobber their panel contents.

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.

2 participants