how to set vi line number?

2008-07-10 Thread EdwardKing
my first question is whether vi can show line number,such as 1: 2: 3:? my second question is whether vi support c syntax,such as show #include with other different color? How to modify to realize above function? thanks

Re: how to set vi line number?

2008-07-10 Thread sac u
On 7/10/08, EdwardKing [EMAIL PROTECTED] wrote: my first question is whether vi can show line number,such as 1: 2: 3:? my second question is whether vi support c syntax,such as show #include with other different color? To list line numbers. :set nu I don't think vi has syntax highlighting,

Re: how to set vi line number?

2008-07-10 Thread Paul Procacci
EdwardKing wrote: my first question is whether vi can show line number,such as 1: 2: 3:? my second question is whether vi support c syntax,such as show #include with other different color? How to modify to realize above function? thanks

Re: how to set vi line number?

2008-07-10 Thread alt127
hi, for line number try set number for syntax highlighting try vim with syntax on if you don`t have vim try pkg_add or ports... ^/ p.s. I suppose this was a generic question out of the list`s scope. :-) EdwardKing wrote: my first question is whether vi can show line number,such as 1: 2: 3:?