summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-08-31 17:27:17 +0100
committerUrbain Vaes <urbain@vaes.uk>2016-08-31 17:27:17 +0100
commit09a7dcd8ed743b9f7e4dfd184c26454c29fb4774 (patch)
treec2b215afe44f8593cecfeeded259fb26b9c63796 /vim
parent226c196628bb83e0f5406cb51b03be2d7c77a90e (diff)
[vim] Add localvimrc
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc6
1 files changed, 6 insertions, 0 deletions
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 <c-d>p :<C-U>LL print <C-R>=lldb#util#get_selection()<CR><CR>
" Fugitive
nnoremap <Leader>gs :Gstatus<cr>
+nnoremap <Leader>gc :Gcommit<cr>
nnoremap <Leader>gr :Gread<cr>
nnoremap <Leader>gd :Gdiff<cr>
@@ -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