vimrc: add warning about dangerous exrc mode

This commit is contained in:
Christian Hesse 2015-11-23 19:31:00 +01:00
parent 681c8d81bd
commit f1d075ff06
1 changed files with 4 additions and 0 deletions

4
.vimrc
View File

@ -1,4 +1,8 @@
" 'set exrc' in ~/.vimrc will read .vimrc from the current directory
" 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!
set tabstop=8
set shiftwidth=8
set expandtab