]> git.ipfire.org Git - thirdparty/systemd.git/blob - .vimrc
284bf88494c574f0aefb4f76650b5a1320af4489
[thirdparty/systemd.git] / .vimrc
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 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
14 set tabstop=8
15 set shiftwidth=8
16 set expandtab
17 set makeprg=GCC_COLORS=\ make
18 set tw=79
19 au BufRead,BufNewFile *.xml set tw=119 shiftwidth=2 smarttab
20 au FileType c set tw=119