Vi: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 4: | Line 4: | ||
=Overview= | =Overview= | ||
=Installation= | |||
==With apt-get== | |||
apt-get install vim | |||
=Syntax Highlight= | =Syntax Highlight= |
Revision as of 04:03, 19 March 2020
Internal
Overview
Installation
With apt-get
apt-get install vim
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