]> git.ipfire.org Git - thirdparty/dracut.git/blame - .vimrc
ci: run all local tests on all containers (including Gentoo)
[thirdparty/dracut.git] / .vimrc
CommitLineData
9012f399 1" Vim can use per directory configuration files like this.
f1739d42
JG
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.
9012f399 6" If you update this file make sure to update .dir-locals.el & .editorconfig
f1739d42 7
9012f399
HH
8set tabstop=4
9set shiftwidth=4
f1739d42
JG
10set expandtab
11set makeprg=GCC_COLORS=\ make
12set tw=79
13au BufRead,BufNewFile *.xml set tw=109 shiftwidth=2 smarttab
14au FileType sh set tw=80 shiftwidth=4 smarttab
9012f399 15au FileType c set tw=109 shiftwidth=8 tabstop=8 smarttab expandtab