X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;ds=sidebyside;f=vimrc;h=f482daf98259c2809c12375af34d0313c39383c5;hb=81fd9dd908139ac857db0090e920fcd5a6c7cda1;hp=26f5383566b9652a1ecb983b7ff092ede8c41e30;hpb=4df30ae3686b6b1152a821f8cd1c6a481bf103a5;p=config%2Fdotfiles.git diff --git a/vimrc b/vimrc index 26f5383..f482daf 100644 --- a/vimrc +++ b/vimrc @@ -637,11 +637,17 @@ if has('eval') silent! execute 'call pathogen#runtime_append_all_bundles()' endif +" Settings for securemodelines. + " Only allow items I need (also includes spl which is not enabled by + " default). + let g:secure_modelines_allowed_items = ['ft', 'spl', 'fdm', + \ 'sw', 'sts', 'noet'] + " Settings for the NERD commenter. " Don't create any mappings I don't want to use. let g:NERDCreateDefaultMappings = 0 " Map toggle comment. - map NERDCommenterToggle + nmap NERDCommenterToggle " XPTemplate settings. " Try to maintain snippet rendering even after editing outside of a