megahomyak
megahomyak

Reputation: 11

How to open new tabs instead of splits by default in VIM?

I have installed rust.vim and it has the :Crun command, which opens a split when called. Is it possible to open a new tab instead of a split? If it is possible, how to do it? (I know that it is possible to call C-w T to switch to tab mode, but I'd like to have this automated)

Upvotes: 0

Views: 164

Answers (1)

megahomyak
megahomyak

Reputation: 11

Oh, I found out: autocmd BufNew * wincmd T

Upvotes: 1

Related Questions