Merge branch 'master' of gitlab.mathux.org:Mathieu/config

This commit is contained in:
Mathieu Maret 2019-05-07 11:55:15 +02:00
commit b45d214139

37
.vimrc
View File

@ -464,6 +464,14 @@ function! ToggleVerbose()
endif endif
endfunction endfunction
""""""""
" Spell
""""""""
" do :set spelllang+=XX to install language
set spelllang=fr,en
" Ctrl-L correct last error
inoremap <C-l> <c-g>u<Esc>[s1z=`]a<c-g>u
""""""""" """""""""
" Plugin" " Plugin"
""""""""" """""""""
@ -510,6 +518,10 @@ Plugin 'tomtom/tlib_vim'
Plugin 'MarcWeber/vim-addon-mw-utils' Plugin 'MarcWeber/vim-addon-mw-utils'
Plugin 'honza/vim-snippets' Plugin 'honza/vim-snippets'
Plugin 'garbas/vim-snipmate' Plugin 'garbas/vim-snipmate'
Plugin 'sirver/ultisnips'
let g:UltiSnipsExpandTrigger = '<tab>'
let g:UltiSnipsJumpForwardTrigger = '<tab>'
let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
" Filesystem exploration " Filesystem exploration
Plugin 'scrooloose/nerdtree' Plugin 'scrooloose/nerdtree'
@ -580,6 +592,10 @@ Plugin 'tpope/vim-surround'
Plugin 'rhysd/vim-grammarous' Plugin 'rhysd/vim-grammarous'
Plugin 'junegunn/goyo.vim' Plugin 'junegunn/goyo.vim'
Plugin 'junegunn/limelight.vim'
autocmd! User GoyoEnter Limelight
autocmd! User GoyoLeave Limelight!
"Complete delimiters "Complete delimiters
Plugin 'Raimondi/delimitMate.git' Plugin 'Raimondi/delimitMate.git'
@ -591,6 +607,27 @@ Plugin 'mhinz/vim-startify'
let g:startify_commands = [ let g:startify_commands = [
\ ['Plugin Update', 'PluginUpdate'], \ ['Plugin Update', 'PluginUpdate'],
\ ['Plugin Install', 'PluginInstall'], \ ['Plugin Install', 'PluginInstall'],
\ ['Vim Wiki', 'VimwikiIndex'],
\] \]
let g:startify_custom_header = [] let g:startify_custom_header = []
Plugin 'vim-pandoc/vim-pandoc'
let g:pandoc#modules#disabled = ["folding"]
Plugin 'vim-pandoc/vim-pandoc-syntax'
"Unicode research
"Plugin 'chrisbra/unicode.vim'
" Tig explorer
Plugin 'iberianpig/tig-explorer.vim'
" LaTex
Plugin 'lervag/vimtex'
let g:tex_flavor='latex'
let g:vimtex_view_method='zathura'
let g:vimtex_quickfix_mode=0
set conceallevel=1
let g:tex_conceal='abdmg'
" not compatible with LaTeX-Box included in polyglot
let g:polyglot_disabled = ['latex']
call vundle#end() call vundle#end()