From 09a7dcd8ed743b9f7e4dfd184c26454c29fb4774 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 31 Aug 2016 17:27:17 +0100 Subject: [vim] Add localvimrc --- vim/.vimrc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vim/.vimrc b/vim/.vimrc index 3dc451b..25a5cbe 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -13,6 +13,7 @@ Plug 'altercation/vim-colors-solarized' Plug 'beloglazov/vim-online-thesaurus' Plug 'christoomey/vim-tmux-navigator' Plug 'critiqjo/lldb.nvim' +Plug 'embear/vim-localvimrc' Plug 'holomorph/vim-freefem' Plug 'honza/vim-snippets' Plug 'jamessan/vim-gnupg' @@ -101,6 +102,7 @@ vnoremap p :LL print =lldb#util#get_selection() " Fugitive nnoremap gs :Gstatus +nnoremap gc :Gcommit nnoremap gr :Gread nnoremap gd :Gdiff @@ -162,6 +164,10 @@ let g:fzf_buffers_jump = 1 " Gundo let g:gundo_prefer_python3 = 1 +" Idealvimrc +let g:localvimrc_sandbox = 0 +let g:localvimrc_whitelist='/home/*' + " NerdTree let g:NERDTreeHijackNetrw = 0 -- cgit v1.2.3