Koozali.org: home of the SME Server
Obsolete Releases => SME Server 8.x => Topic started by: kruhm on July 02, 2012, 02:17:32 AM
-
Hi Everyone,
How do I get vi to run /usr/bin/vim?
In SME v8:
vi filename
runs /bin/vi and syntax highlighting is off.
In SME v7:
vi filename
runs /usr/bin/vim and syntax highlighting is on.
Thanks in advance.
-
Well here's how I did it...
vi ~/.bashrc
Add a line:
alias vi='/usr/bin/vim'
Save it:
:wq
Logout and log back in.
Now
vi filename
now runs /usr/bin/vim and sytax highlighting is on.