From 0b3c3a10f11d8c1598d2773189dfbcd187b0344c Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 29 Aug 2016 15:02:12 +0200 Subject: [vim] Set python version to 3 for Gundo --- vim/.vimrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'vim/.vimrc') diff --git a/vim/.vimrc b/vim/.vimrc index e37824e..3dc451b 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -55,6 +55,7 @@ Plug 'troydm/zoomwintab.vim' Plug 'vim-airline/vim-airline' Plug 'vim-airline/vim-airline-themes' Plug 'vim-scripts/gmsh.vim' +Plug 'vim-scripts/SpellCheck' if has("nvim") Plug 'Shougo/deoplete.nvim' @@ -64,7 +65,6 @@ if has("nvim") else Plug 'Shougo/neocomplete.vim' Plug 'scrooloose/syntastic' - " Plug 'Valloric/YouCompleteMe', { 'do' : 'python2 install.py --clang-completer' } endif call plug#end() @@ -159,6 +159,9 @@ let g:deoplete#omni_patterns.tex = g:neocomplete#sources#omni#input_patterns.tex " FZF.vim let g:fzf_buffers_jump = 1 +" Gundo +let g:gundo_prefer_python3 = 1 + " NerdTree let g:NERDTreeHijackNetrw = 0 @@ -219,7 +222,6 @@ let g:netrw_bufsettings='relativenumber' let g:tex_conceal= 'adgm' let g:tex_flavor='latex' - "" Vim options set smartindent set expandtab @@ -227,7 +229,6 @@ set tabstop=4 set softtabstop=4 set shiftwidth=4 set showcmd -" set nofoldenable set foldmethod=marker set noswapfile set nowritebackup -- cgit v1.2.3 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(+) (limited to 'vim/.vimrc') 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