mirror of
https://github.com/prurigro/darkcloud-vimconfig.git
synced 2024-11-22 14:44:11 -05:00
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:
parent
b2505dcfd1
commit
1b4f5f92d2
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@
|
||||||
set hlsearch incsearch ignorecase smartcase "configure how search behaves
|
set hlsearch incsearch ignorecase smartcase "configure how search behaves
|
||||||
set timeout timeoutlen=500 "how long before timing out for mappings
|
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 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
|
"create ~/.vim/swap if necessary, then use as default swap file location
|
||||||
if exists('*mkdir') && !isdirectory($HOME.'/.vim/swap')
|
if exists('*mkdir') && !isdirectory($HOME.'/.vim/swap')
|
||||||
|
|
Loading…
Reference in a new issue