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, but vim does have it.

sac.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to