Main Page
From Vim Tips Wiki
|
Welcome to the Vim Tips wiki This wiki is about the editor Vim. We aim to exchange tips and tricks with other Vim users. Please help by improving or adding comments to any tip. If you are new to Vim, we have plenty of tips that will help you get started. We are currently editing over 1,643 articles. |
Featured tip for July view archiveSyntax highlighting helps show the structure of a program, and usually all you need is :syntax on – the rest is automatic. However, what if you have some C code in a text file, or some SQL code in a C file? With a little work, you can apply different syntax highlighting rules to different regions of a file, so your C code looks like C, your text looks like text, and your SQL code looks like SQL. Our featured tip has the details. Use it to create syntax regions in plaintext, tweak existing syntax rules, or even as a guide when developing a new syntax plugin! |
Did you know? view archive
|
From Vim Help view archive
|
Information
|
|
