summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2015-11-23 19:31:00 +0100
committerChristian Hesse <mail@eworm.de>2015-11-23 19:31:00 +0100
commitf1d075ff06de4d0cbf99acd36f0fcadd50d221be (patch)
tree4e6dac25af256a3de111b8382cfb863e2d0f8804 /.vimrc
parent681c8d81bdc946360d13185632d1920ffaeb5ad9 (diff)
vimrc: add warning about dangerous exrc mode
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index b802c908f2..d8020f3404 100644
--- a/.vimrc
+++ b/.vimrc
@@ -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