From f1d075ff06de4d0cbf99acd36f0fcadd50d221be Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 23 Nov 2015 19:31:00 +0100 Subject: [PATCH] vimrc: add warning about dangerous exrc mode --- .vimrc | 4 ++++ 1 file changed, 4 insertions(+) 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