To open VIM using vi command, open up .bashrc and add the following line at the end of the file:
alias vi='vim'
This way, we create an alias of vim with vi.
As such,
vim hello.php
is equivalent to
vi hello.php
To open VIM using vi command, open up .bashrc and add the following line at the end of the file:
alias vi='vim'
This way, we create an alias of vim with vi.
As such,
vim hello.php
is equivalent to
vi hello.php