Reputation: 43
Is there a way to permanently turn off window splitting? I want all buffers to open in full windows. Can it be turned off permanently somehow?
Upvotes: 0
Views: 444
Reputation: 172520
You can:
:set switchbuf-=split
),:autocmd
s that check for created splits and :tabedit
them insteadbut you won't succeed in totally getting rid of them. For example, the preview and quickfix windows were designed to be viewed in a window split, and you won't get much value out of them without that.
Vim is different than most other editors, and it derives a lot of its power from that. So, try to rid yourself of preconceptions, be open to the Vim way, keep experimenting and learning. You'll get by with multiple windows with a few built-in (<C-w>...
) commands. Maybe you'll only use window splits occasionally, maybe you'll later recognize the shortcomings of alternative approaches of buffer handling (e.g. too many tabs) and start to love window splits. But don't try to expunge a feature because you initially don't like / understand it.
Upvotes: 1