From: Simon Ruderich Date: Thu, 21 May 2009 12:50:26 +0000 (+0200) Subject: vimrc: Don't use modelines. X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=2f291940dcca8ae31d4c5c523ad254e75169f56f;p=config%2Fdotfiles.git vimrc: Don't use modelines. Use securemodelines plugin instead. --- 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