Toggle navigation
Koozali.org: home of the SME Server
Community
Forums
Bugs
Lists
Forum Help
Download
SME Server ISOs
Contribs
Documentation
Manual
Wiki
FAQ
HowTo
Donate
Search
Login
Register
Login
Register
×
Close
Login
Remember me
Koozali.org: home of the SME Server
Obsolete Releases
SME Server 8.x
Topic:
vi syntax highlight
« previous
next »
+
Print
Pages: [
1
]
Go Down
vi syntax highlight
1 Replies
1082 Views
kruhm
680
+0/-0
vi syntax highlight
«
on:
July 02, 2012, 02:17:32 AM »
Hi Everyone,
How do I get vi to run /usr/bin/vim?
In SME v8:
Code:
[Select]
vi filename
runs /bin/vi and syntax highlighting is off.
In SME v7:
Code:
[Select]
vi filename
runs /usr/bin/vim and syntax highlighting is on.
Thanks in advance.
Logged
kruhm
680
+0/-0
Re: vi syntax highlight
«
Reply #1 on:
July 02, 2012, 02:23:53 AM »
Well here's how I did it...
Code:
[Select]
vi ~/.bashrc
Add a line:
Code:
[Select]
alias vi='/usr/bin/vim'
Save it:
Code:
[Select]
:wq
Logout and log back in.
Now
Code:
[Select]
vi filename
now runs /usr/bin/vim and sytax highlighting is on.
Logged
+
Print
Pages: [
1
]
Go Up
« previous
next »
Koozali.org: home of the SME Server
Obsolete Releases
SME Server 8.x
Topic:
vi syntax highlight