浏览代码

Disable security prompt when loading local vimrc

Sorry security, but it was too cumbersome.
DricomDragon 4 年之前
父节点
当前提交
4111a842fb
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Install/Templates/home/vim/vimrc

+ 3 - 0
Install/Templates/home/vim/vimrc

@@ -18,6 +18,9 @@ Plugin 'tpope/vim-repeat' " Allow custom commands from vim-unimpaired to be repe
 Plugin 'embear/vim-localvimrc' " Allow Vim tweak per project, useful for coding conventions
 call vundle#end()
 
+" Tweak embear/vim-localvimrc
+let g:localvimrc_ask=0
+
 " Make hard tab look like 4 spaces tabs
 set shiftwidth=4
 set tabstop=4