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/.vim/spell/en.utf-8.add | 6 ++++++ vim/.vim/spell/en.utf-8.add.spl | Bin 0 -> 154 bytes vim/.vimrc | 7 ++++--- 3 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 vim/.vim/spell/en.utf-8.add create mode 100644 vim/.vim/spell/en.utf-8.add.spl (limited to 'vim') diff --git a/vim/.vim/spell/en.utf-8.add b/vim/.vim/spell/en.utf-8.add new file mode 100644 index 0000000..87ee2ba --- /dev/null +++ b/vim/.vim/spell/en.utf-8.add @@ -0,0 +1,6 @@ +diagonality +laplacian +Maruyama +multiscale +SPDE +advective diff --git a/vim/.vim/spell/en.utf-8.add.spl b/vim/.vim/spell/en.utf-8.add.spl new file mode 100644 index 0000000..b52c8a6 Binary files /dev/null and b/vim/.vim/spell/en.utf-8.add.spl differ 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') 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