Re: vim vs. vi

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

 





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".

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux