Vi - Does anybody use it?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

Vi - Does anybody use it?

Post by impulse() »

Anybody know how to show the syntax in colour?

Ste,
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

in vim (won't work in vi):

Code: Select all

<Esc>:syn on<Enter>
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

I like using vim. It definetly isn't user friendly but it's nice once you learn the commands.
DrTom
Forum Commoner
Posts: 60
Joined: Wed Aug 02, 2006 8:40 am
Location: Las Vegas

Post by DrTom »

vim is the only thing I code in at work. It totally rocks the socks out of any editor out there, but yeah it can take a little bit to learn, and even longer to setup all the neat things. but once you do, it's so worth it. And for those who hate remembering commands try gvim
impulse()
Forum Regular
Posts: 748
Joined: Wed Aug 09, 2006 8:36 am
Location: Staffordshire, UK
Contact:

Post by impulse() »

Have you managed to get coloured synxtax in ViM? I've saw a few screenshots that show it possible and I can't find any guides that explain how to enable it. I've used the Joe editor which shows colour so the terminal is capable of it.
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

I use Vim/VI at work for some server administration. But I try to use my nice colorful GUI's when possible. On RHE3 VI has color coding.
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

Post by Burrito »

I use vi at work for server admin...there's not enough money in my state to make me use it for coding 8O.
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

Burrito wrote:I use vi at work for server admin...there's not enough money in my state to make me use it for coding 8O.
Amen.
DrTom
Forum Commoner
Posts: 60
Joined: Wed Aug 02, 2006 8:40 am
Location: Las Vegas

Post by DrTom »

impulse() wrote:Have you managed to get coloured synxtax in ViM? I've saw a few screenshots that show it possible and I can't find any guides that explain how to enable it. I've used the Joe editor which shows colour so the terminal is capable of it.
It's ':syntax enable' on a standard vim installation. Check out http://vimdoc.sourceforge.net/htmldoc/usr_toc.html. It's the vim help pages in an almost usable format, and has a more detailed explanation of how to do syntax highlighting stuff in it.
Burrito wrote:I use vi at work for server admin...there's not enough money in my state to make me use it for coding 8O.
I've never found a half decent IDE for KDE that did everything that vim did and didn't suck, so I just stuck with vim.
User avatar
neophyte
DevNet Resident
Posts: 1537
Joined: Tue Jan 20, 2004 4:58 pm
Location: Minnesota

Post by neophyte »

Really? I'm on KDE right now and I'm using PHPEclipse and my second choice on KDE is Quanta Plus.
User avatar
ibbo
Forum Commoner
Posts: 51
Joined: Tue Sep 19, 2006 6:20 am

Post by ibbo »

I use vi a lot but projects are under ZEND and phpEclipse.

ibbo
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post by CoderGoblin »

Colour, no idea didn't think it was possible.

Use Vi, Yes, like it no. Reason to use it... Always need to know the lowest common denominator. You can never know if a customer will have any other editor installed on a site you go to and you cannot always install another one. You should at least be able to edit a file, even if you don't know all the commands such as the "yank" facilities.

My preference is Eclipse or joe.
Post Reply