Merge branch 'master' of gitlab.mathux.org:Mathieu/config
This commit is contained in:
commit
b45d214139
37
.vimrc
37
.vimrc
@ -464,6 +464,14 @@ function! ToggleVerbose()
|
||||
endif
|
||||
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"
|
||||
"""""""""
|
||||
@ -510,6 +518,10 @@ Plugin 'tomtom/tlib_vim'
|
||||
Plugin 'MarcWeber/vim-addon-mw-utils'
|
||||
Plugin 'honza/vim-snippets'
|
||||
Plugin 'garbas/vim-snipmate'
|
||||
Plugin 'sirver/ultisnips'
|
||||
let g:UltiSnipsExpandTrigger = '<tab>'
|
||||
let g:UltiSnipsJumpForwardTrigger = '<tab>'
|
||||
let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
|
||||
|
||||
" Filesystem exploration
|
||||
Plugin 'scrooloose/nerdtree'
|
||||
@ -580,6 +592,10 @@ Plugin 'tpope/vim-surround'
|
||||
Plugin 'rhysd/vim-grammarous'
|
||||
|
||||
Plugin 'junegunn/goyo.vim'
|
||||
Plugin 'junegunn/limelight.vim'
|
||||
autocmd! User GoyoEnter Limelight
|
||||
autocmd! User GoyoLeave Limelight!
|
||||
|
||||
"Complete delimiters
|
||||
Plugin 'Raimondi/delimitMate.git'
|
||||
|
||||
@ -591,6 +607,27 @@ Plugin 'mhinz/vim-startify'
|
||||
let g:startify_commands = [
|
||||
\ ['Plugin Update', 'PluginUpdate'],
|
||||
\ ['Plugin Install', 'PluginInstall'],
|
||||
\ ['Vim Wiki', 'VimwikiIndex'],
|
||||
\]
|
||||
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()
|
||||
|
Loading…
Reference in New Issue
Block a user