Clone Eitorcongi-Vim回來,並複制到 ~/.vim 即完成。
$ git clone https://github.com/editorconfig/editorconfig-vim.git
$ cd editorconfig-vim & cp -r doc/ autoload/ plugin/ ~/.vim| ; See http://EditorConfig.org | |
| root = true | |
| [*] | |
| charset = utf-8 | |
| end_of_line = lf | |
| indent_size = 4 | |
| indent_style = space | |
| insert_final_newline = true | |
| trim_trailing_whitespace = true | |
| [*.ls] | |
| ; See https://github.com/gkz/LiveScript-style-guide | |
| indent_size = 2 |