1" 'set exrc' in ~/.vimrc will read .vimrc from the current directory
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!
6
7" Note that we set a line width of 109 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
14set tabstop=8
15set shiftwidth=8
16set expandtab
17set makeprg=GCC_COLORS=\ make
18set tw=79
19au BufRead,BufNewFile *.xml set tw=109 shiftwidth=2 smarttab
20au FileType sh set tw=80 shiftwidth=4 smarttab
21au FileType c set tw=109
22