mirror of
https://github.com/lloeki/vimfiles.git
synced 2025-12-06 05:24:39 +01:00
secure modelines
This commit is contained in:
parent
7547514afc
commit
7a6697dbaf
2 changed files with 3 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ Bundle 'tpope/vim-bundler'
|
||||||
Bundle 'tpope/vim-fugitive'
|
Bundle 'tpope/vim-fugitive'
|
||||||
Bundle 'rking/ag.vim'
|
Bundle 'rking/ag.vim'
|
||||||
|
|
||||||
|
Bundle 'ciaranm/securemodelines'
|
||||||
Bundle 'kien/ctrlp.vim'
|
Bundle 'kien/ctrlp.vim'
|
||||||
"Bundle 'Lokaltog/vim-powerline'
|
"Bundle 'Lokaltog/vim-powerline'
|
||||||
Bundle 'bling/vim-airline'
|
Bundle 'bling/vim-airline'
|
||||||
|
|
|
||||||
2
vimrc
2
vimrc
|
|
@ -7,6 +7,8 @@ scriptencoding "utf-8"
|
||||||
|
|
||||||
"security measure
|
"security measure
|
||||||
set modelines=0
|
set modelines=0
|
||||||
|
let g:secure_modelines_leave_modeline=1
|
||||||
|
let g:secure_modelines_verbose=1
|
||||||
|
|
||||||
" prevent .netrwhist creation
|
" prevent .netrwhist creation
|
||||||
let g:netrw_dirhistmax = 0
|
let g:netrw_dirhistmax = 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue