Disable modelines as these aren't secure (and aren't a great practice imo, but that's more of an opinion)

This commit is contained in:
Kevin MacMartin 2019-06-05 00:36:27 -04:00
parent b2505dcfd1
commit 1b4f5f92d2

View file

@ -103,6 +103,7 @@
set hlsearch incsearch ignorecase smartcase "configure how search behaves
set timeout timeoutlen=500 "how long before timing out for mappings
set ttimeout ttimeoutlen=100 "how long before timing out for terminal key codes
set nomodeline "disable the use of file-based modelines as these are insecure
"create ~/.vim/swap if necessary, then use as default swap file location
if exists('*mkdir') && !isdirectory($HOME.'/.vim/swap')