You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Got two input buffers when I resize the nvim window #144
Hey guys! It happens for me as well. Usually, it happens when I open or close a new pane on tmux. I'm using vim-tmux-navigator, not sure if it can be related.
in my config this autocmd was the cause. I've disabled it for now
vim.api.nvim_create_autocmd('VimResized', {
desc='resize splits when Vim is resized',
callback=function()
localcurrent_tab=vim.api.nvim_get_current_tabpage()
vim.cmd'tabdo wincmd ='vim.api.nvim_set_current_tabpage(current_tab)
end,
})
Activity
sudo-tee commentedon Dec 18, 2025
Thanks for the report
This is rather strange,
Can you give me your full opencode plugin config ?
Are you sure the setup is not called twice ?
Does this happen everytime ?
vipware commentedon Dec 18, 2025
Thank you for your reply, and also thank you for developing such an excellent Neovim plugin. Below is my whole configuration in Neovim version 0.12:
sudo-tee commentedon Dec 19, 2025
Does this happen everytime ?
I am still not able to reproduce it
vipware commentedon Dec 19, 2025
I have tried in Item2/wezterm/ghostty, it happens everytime.
sudo-tee commentedon Dec 19, 2025
Mind sharing a screen recording of it ? Maybe I could see what is going on
sudo-tee commentedon Dec 23, 2025
@vipware
I am still not able to reproduce it.
Do you have a video or do you have a link to your full nvim config ?
vipware commentedon Dec 24, 2025
https://youtu.be/huhYmaIneW0
sudo-tee commentedon Dec 24, 2025
I don't have access
vipware commentedon Dec 30, 2025
Please, try again.
jinzhongjia commentedon Jan 2, 2026
That's very strange, I also can not reproduce this issue.
sudo-tee commentedon Jan 2, 2026
@vipware Are your setup locked to an older version ?
Have you try to update the plugin ?
muromeo1 commentedon Jan 14, 2026
Hey guys! It happens for me as well. Usually, it happens when I open or close a new pane on tmux. I'm using
vim-tmux-navigator, not sure if it can be related.sudo-tee commentedon Jan 15, 2026
I am still not able to reproduce even witht tmux :/
Are you using the latest version of the plugin ?
muromeo1 commentedon Jan 19, 2026
Yeap, I quickly update all my plugin versions whenever a new version comes out.
If it helps, this is my updated dev setup:
https://github.com/muromeo1/dotfiles
muromeo1 commentedon Jan 19, 2026
But either way, it's a minor. Whenever this happens, I just close and re-open the panel and everything looks normal again.
disrupted commentedon Jan 25, 2026
in my config this autocmd was the cause. I've disabled it for now
sudo-tee commentedon Jan 25, 2026
This could give me a hint on what is happening
Thanks for the comment
disrupted commentedon Feb 3, 2026
@vipware @muromeo1 could you give #233 a try? this should hopefully fix the issue for you too
fix: prevent duplicate windows by implementing buffer-to-window binding
sudo-tee commentedon Feb 5, 2026
@disrupted @vipware @muromeo1
I created another MR with a more robust approach for duplicated window. It should also covers trying to split the opencode windows.
sudo-tee commentedon Feb 5, 2026
I closed the issue and merged the fix.
If there is still issues please let me know and I will reopen
fix: prevent duplicate windows by implementing buffer-to-window binding