Vi

From NovaOrdis Knowledge Base
Revision as of 18:19, 31 July 2017 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

Internal

Overview

Syntax Highlight

All Parsers

To turn syntax highlight on or of interactively:

:syntax on|off

To make the change permanent, edit ~/.vimrc and append:

syntax on|off

Just the YAML Parser

autocmd BufRead,BufNewFile {*.yaml} set filetype=yaml
autocmd FileType yaml setlocal syntax=off