In above image you see Here some asciinema
videos, notice that wheneverin the videos, when I open up newanother file (plugins.vim
) in split using nvimCtrl+v
it will first create new buffer and then opening up my file on other window splittab named (the right one). When you closeplugins.vim
in the right splitleft, it doesn'tbut when I close the respecting buffer I open on another split (phpunitplugins.xmlvim
on left(on the right). Is these common?
Is there a way to make split window without having it will not close the otherplugins.vim buffer danglingtab on my other split windowthe left.
How do I open it?
- I use
fzf
plugin and pressCtrl + v
to open it - Using
:vsplit
and ':split'
How do I close it?
Is vim work like these? If yes how do I automatically close right split usingwindow with :q
and not closingbut also close the phpunit.xml
tab buffer on the left, :bd
does the same.?
What do I want?
Some plugin setup :
- close buffer the right split, also close the respecting
phpunit.xml
on the left split - or opening new file on right split won't open buffer on left split.