May 2018
Intermediate to advanced
168 pages
4h 2m
English
| Tip 27 | Respecting Project Conventions |
When working on multiple codebases, you may encounter different conventions for indentation size, indentation style, character encodings, and so on. The .editorconfig file has become a de-facto standard for specifying settings, scoped by filetype and directory. This format is designed to be editor-agnostic, and you can make Vim understand these files by installing a plugin.
In this tip, you’ll use the vim-editorconfig plugin[53] by sgur. You can install it to your bundle package like this:
| => | $ cd $VIMCONFIG/pack/bundle/start |
| => | $ git clone https://github.com/sgur/vim-editorconfig.git |