From 2f291940dcca8ae31d4c5c523ad254e75169f56f Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 21 May 2009 14:50:26 +0200 Subject: [PATCH] vimrc: Don't use modelines. Use securemodelines plugin instead. --- vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vimrc b/vimrc index de7dc05..644b59c 100644 --- a/vimrc +++ b/vimrc @@ -11,6 +11,10 @@ set nocompatible set runtimepath-=~/.vim set runtimepath^=~/.vim,~/.vim/plugins,~/.vim/runtime +" Disable modelines as they may cause security problems. Instead use +" securemodelines (Vim script #1876). +set nomodeline + " When completing paths first use the longest path then display a list of all " possible files. set wildmode=longest,list -- 2.45.2