vim: add various plugin

This commit is contained in:
Mathieu Maret 2017-08-16 14:14:28 +02:00
parent ed5be3e864
commit 4d47deab3c

16
.vimrc
View File

@ -540,9 +540,14 @@ Plugin 'gitlab@gitlab.mathux.org:Mathieu/taglist.git'
" Tagbar look like a maintened taglist " Tagbar look like a maintened taglist
Plugin 'majutsushi/tagbar' Plugin 'majutsushi/tagbar'
if v:version >= 800
" Async lint
Plugin 'w0rp/ale'
else
"Syntax checking | Install flake8 or pylint for python "Syntax checking | Install flake8 or pylint for python
Plugin 'vim-syntastic/syntastic' Plugin 'vim-syntastic/syntastic'
let g:syntastic_c_checkers = ['gcc', 'cppcheck'] let g:syntastic_c_checkers = ['gcc', 'cppcheck']
endif
"Completion (need more configuration for python, c# ...) "Completion (need more configuration for python, c# ...)
"Plugin 'Valloric/YouCompleteMe' "Plugin 'Valloric/YouCompleteMe'
" VimWiki " VimWiki
@ -569,6 +574,17 @@ Plugin 'gregkh/kernel-coding-style.git'
" Recognize Key in screen/tmux " Recognize Key in screen/tmux
"Plugin 'drmikehenry/vim-fixkey' "Plugin 'drmikehenry/vim-fixkey'
Plugin 'tpope/vim-surround'
" Maps ss to surround word. e.g. ss] to add [] around word
nmap ss ysiw
" Maps sl to surround line
nmap sl yss
" Surround Visual selection
vmap s S
Plugin 'junegunn/goyo.vim'
"Complete delimiters "Complete delimiters
Plugin 'Raimondi/delimitMate.git' Plugin 'Raimondi/delimitMate.git'
Plugin 'Yggdroot/LeaderF'
call vundle#end() call vundle#end()