diff options
author | Aaron LI <aly@aaronly.me> | 2019-06-21 16:24:25 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2019-06-21 16:24:25 +0800 |
commit | 5731aa892d465cb66cac7e44e0270d0ff12be8d2 (patch) | |
tree | 57e2bd49c8c85bc6899eb041f261e65440ee408e | |
parent | 5c33336c7523c5b864c9d9be715790e8151ab3ab (diff) | |
download | dotfiles-5731aa892d465cb66cac7e44e0270d0ff12be8d2.tar.bz2 |
vim: Disable modelines
-rw-r--r-- | _vim/vimrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 = "," |