VIM Always Use Tabbed Pages -


i command can put in ~/.vimrc file make vim open in tabbed pages mode without having pass -p on command line.

is there such command? if not, there better way this. currently, i'm using

alias vi='vim -p' 

in bash profile.

thanks.....

setting following in ~/.vimrc , source ~/.vimrc

au vimenter * if !&diff | tab | tabfirst | endif 

works being mentioned here


or set alias in rc file e.g. ~/.bashrc. approach take.

alias vim='vim -p' alias vi='vim -p' 

Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -