aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_vim/vimrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/_vim/vimrc b/_vim/vimrc
index 3b87fb9..7fd42ae 100644
--- a/_vim/vimrc
+++ b/_vim/vimrc
@@ -19,6 +19,10 @@ filetype indent on
" Set to auto read when a file is changed from the outside
set autoread
+" Disable modelines for better security
+set modelines=0
+set nomodeline
+
" With a map leader it's possible to do extra key combinations
" like <leader>w saves the current file
let mapleader = ","