diff --git a/.vimrc b/.vimrc index 3273dd225..23c5ba073 100644 --- a/.vimrc +++ b/.vimrc @@ -34,9 +34,9 @@ endif " Don’t create backups when editing files in certain directories set backupskip=/tmp/*,/private/tmp/* -" Respect modeline in files -set modeline -set modelines=4 +" Disable modeline as a security precaution +set modelines=0 +set nomodeline " Enable per-directory .vimrc files and disable unsafe commands in them set exrc set secure