summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mack <github@zonque.org>2015-11-23 20:25:22 +0100
committerDaniel Mack <github@zonque.org>2015-11-23 20:25:22 +0100
commit3a7f4776cc83a465440f3dce301663af9373d745 (patch)
tree4e6dac25af256a3de111b8382cfb863e2d0f8804
parent681c8d81bdc946360d13185632d1920ffaeb5ad9 (diff)
parentf1d075ff06de4d0cbf99acd36f0fcadd50d221be (diff)
Merge pull request #2005 from eworm-de/vimrc
vimrc: add warning about dangerous exrc mode
-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