how to set vi line number?

Paul Procacci pprocacci at datapipe.com
Thu Jul 10 09:33:13 UTC 2008


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>   
You may want to start with installing vim. vi to my knowledge is not
`color capable`.


More information about the freebsd-questions mailing list