Re: how to set vi line number?
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:? > 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 > > > -- > Confidentiality Notice: The information contained in this e-mail and any > accompanying attachment(s) is intended only for the use of the intended > recipient and may be confidential and/or privileged of Neusoft Group Ltd., > its subsidiaries and/or its affiliates. If any reader of this communication > is not the intended recipient, unauthorized use, forwarding, printing, > storing, disclosure or copying is strictly prohibited, and may be unlawful. > If you have received this communication in error, please immediately notify > the sender by return e-mail, and delete the original message and all copies > from your system. Thank you. > --- > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to set vi line number?
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 > > > -- > Confidentiality Notice: The information contained in this e-mail and any > accompanying attachment(s) is intended only for the use of the intended > recipient and may be confidential and/or privileged of Neusoft Group Ltd., > its subsidiaries and/or its affiliates. If any reader of this communication > is not the intended recipient, unauthorized use, forwarding, printing, > storing, disclosure or copying is strictly prohibited, and may be unlawful. > If you have received this communication in error, please immediately notify > the sender by return e-mail, and delete the original message and all copies > from your system. Thank you. > --- > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > You may want to start with installing vim. vi to my knowledge is not `color capable`. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: how to set vi line number?
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]"