[vim] disable execution of modelines

Modelines can be quite annoying or even dangerous, even though the
commands that can be executed int them are limited. If the settings from
a modeline are actually desired, this can be explicitly enabled on a
per-file basis.
This commit is contained in:
Fernando Schauenburg 2016-03-30 00:06:55 +02:00
parent 316240cffa
commit f8734b4a3a

1
vimrc
View file

@ -23,6 +23,7 @@ set nocompatible
set laststatus=2
set lazyredraw
set listchars=tab:\ ,trail
set modelines=0
set number
set scrolloff=5
set shiftwidth=4