]>
Commit | Line | Data |
---|---|---|
c97e8d10 | 1 | " 'set exrc' in ~/.vimrc will read .vimrc from the current directory |
f1d075ff CH |
2 | " Warning: Enabling exrc is dangerous! You can do nearly everything from a |
3 | " vimrc configuration file, including write operations and shell execution. | |
4 | " You should consider setting 'set secure' as well, which is highly | |
5 | " recommended! | |
2eb169bd LP |
6 | |
7 | " Note that we set a line width of 119 for .c and XML files, but for everything | |
8 | " else (such as journal catalog files, unit files, README files) we stick to a | |
9 | " more conservative 79 characters. | |
10 | ||
11 | " NOTE: If you update this file make sure to update .dir-locals.el and | |
12 | " .editorconfig, too. | |
13 | ||
c97e8d10 KS |
14 | set tabstop=8 |
15 | set shiftwidth=8 | |
16 | set expandtab | |
3396c37f | 17 | set makeprg=GCC_COLORS=\ make |
2eb169bd | 18 | set tw=79 |
1cc457d9 | 19 | au BufRead,BufNewFile *.xml set tw=119 shiftwidth=2 smarttab |
2eb169bd | 20 | au FileType c set tw=119 |