[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Configuring vi



On Wed, 15 Nov 2000, Ashwin wrote:

> Hi,
> 
> How do I configure vi to display color coding for C++ and if possible, 
> how do I compile programs from within vi itself. I'm running vi in 
> terminal mode.
> 
> Ashwin
> ashwin_n@xxxxxxxxxxx
> 

 Use voim or gvim and do the following in the escape mode.

:set syntax on

More over use ctags and/or cscope together with vim , add some keystroke 
maps and you will never look back

sreangsu