On 7/10/08, EdwardKing <zhangsc at neusoft.com> 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.