From 4d47deab3c716bc36a3cd855606e40444c914a0f Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Wed, 16 Aug 2017 14:14:28 +0200 Subject: [PATCH] vim: add various plugin --- .vimrc | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.vimrc b/.vimrc index bcfbb2b..8efc7fd 100644 --- a/.vimrc +++ b/.vimrc @@ -540,9 +540,14 @@ Plugin 'gitlab@gitlab.mathux.org:Mathieu/taglist.git' " Tagbar look like a maintened taglist Plugin 'majutsushi/tagbar' -"Syntax checking | Install flake8 or pylint for python -Plugin 'vim-syntastic/syntastic' -let g:syntastic_c_checkers = ['gcc', 'cppcheck'] +if v:version >= 800 + " Async lint + Plugin 'w0rp/ale' +else + "Syntax checking | Install flake8 or pylint for python + Plugin 'vim-syntastic/syntastic' + let g:syntastic_c_checkers = ['gcc', 'cppcheck'] +endif "Completion (need more configuration for python, c# ...) "Plugin 'Valloric/YouCompleteMe' " VimWiki @@ -569,6 +574,17 @@ Plugin 'gregkh/kernel-coding-style.git' " Recognize Key in screen/tmux "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 Plugin 'Raimondi/delimitMate.git' + +Plugin 'Yggdroot/LeaderF' call vundle#end()