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
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,
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
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:?