2012-01-23 11:42:11 +08:00
|
|
|
" 'set exrc' in ~/.vimrc will read .vimrc from the current directory
|
2015-11-24 02:31:00 +08:00
|
|
|
" Warning: Enabling exrc is dangerous! You can do nearly everything from a
|
|
|
|
" vimrc configuration file, including write operations and shell execution.
|
|
|
|
" You should consider setting 'set secure' as well, which is highly
|
|
|
|
" recommended!
|
2016-02-10 19:27:35 +08:00
|
|
|
|
|
|
|
" Note that we set a line width of 119 for .c and XML files, but for everything
|
|
|
|
" else (such as journal catalog files, unit files, README files) we stick to a
|
|
|
|
" more conservative 79 characters.
|
|
|
|
|
|
|
|
" NOTE: If you update this file make sure to update .dir-locals.el and
|
|
|
|
" .editorconfig, too.
|
|
|
|
|
2012-01-23 11:42:11 +08:00
|
|
|
set tabstop=8
|
|
|
|
set shiftwidth=8
|
|
|
|
set expandtab
|
2013-10-20 10:27:30 +08:00
|
|
|
set makeprg=GCC_COLORS=\ make
|
2016-02-10 19:27:35 +08:00
|
|
|
set tw=79
|
2016-04-26 21:06:28 +08:00
|
|
|
au BufRead,BufNewFile *.xml set tw=119 shiftwidth=2 smarttab
|
2016-02-10 19:27:35 +08:00
|
|
|
au FileType c set tw=119
|