syntax off VIM Command

How to use syntax off Command in Linux VIM editor?

Explanation


syntax off command is used to turn off or disable color syntax highlighting in vim editor.

Usage:

:syntax off

Example:

  • Open the file 'test.cpp'
    vim text.cpp
    syntax off Vim Command
  • To disable or turn off the color syntax highlighting
    Enter :syntax off
    disable color syntax highlighting

Ask Questions

Ask Question