]> git.ipfire.org Git - thirdparty/dracut.git/blob - .vimrc
fix(multipath): remove dependency on multipathd.socket
[thirdparty/dracut.git] / .vimrc
1 " Vim can use per directory configuration files like this.
2 " To enable that feature two lines are needed in your ~/.vimrc
3 " set exrc " enables per-directory .vimrc files
4 " set secure " disable unsafe commands in local .vimrc files
5 " Characters width is set to 109 for .c and XML but for everything else 79.
6 " If you update this file make sure to update .dir-locals.el & .editorconfig
7
8 set tabstop=4
9 set shiftwidth=4
10 set expandtab
11 set makeprg=GCC_COLORS=\ make
12 set tw=79
13 au BufRead,BufNewFile *.xml set tw=109 shiftwidth=2 smarttab
14 au FileType sh set tw=80 shiftwidth=4 smarttab
15 au FileType c set tw=109 shiftwidth=8 tabstop=8 smarttab expandtab