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

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -