[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: vim vs. vi





Brian McGrew wrote:
Hello,

I've used vi on Solaris for so long that vim on Linux is a bit of a
stumbling block.  Is there a way to turn off the syntax highlighting and
make it act a little bit more like Sun VI?

This is covered in:


http://vimdoc.sourceforge.net/vimfaq.html#24.1

By default, the Vim syntax highlighting is turned off (except in Red Hat???). To enable the syntax highlighting, you can use one of the following commands:

:syntax enable

or

:syntax on

To disable the syntax highlighting, you can use the following command:

:syntax off

For more information, read

    :help 06.1
    :help 06.4
    :help :syntax-enable
    :help :syntax-on
    :help :syn-clear


-- "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."

--Ford Prefect in "Mostly Harmless".


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]