mirror of
https://github.com/lloeki/vimfiles.git
synced 2025-12-06 13:34:39 +01:00
secure modelines
This commit is contained in:
parent
7547514afc
commit
7a6697dbaf
2 changed files with 3 additions and 0 deletions
2
vimrc
2
vimrc
|
|
@ -7,6 +7,8 @@ scriptencoding "utf-8"
|
|||
|
||||
"security measure
|
||||
set modelines=0
|
||||
let g:secure_modelines_leave_modeline=1
|
||||
let g:secure_modelines_verbose=1
|
||||
|
||||
" prevent .netrwhist creation
|
||||
let g:netrw_dirhistmax = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue