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

143 Views Asked by At

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)

1

There are 1 best solutions below

1
megahomyak On

Oh, I found out: autocmd BufNew * wincmd T