From 034ed1957a4a27e6379f8f49f7f01ace57818971 Mon Sep 17 00:00:00 2001 From: lhark Date: Fri, 25 Dec 2015 21:55:45 +0100 Subject: [PATCH] Add plugins : vim-airline, vim-colors-solarized and optionnaly YouCompleteMe --- vimrc | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/vimrc b/vimrc index f9335eb..a92d3aa 100644 --- a/vimrc +++ b/vimrc @@ -10,26 +10,26 @@ """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" "[Plug-ins list]"""""""""""""""""""""""""""""""""""""""""""""""""""""""" "+------------------+-------------------------------------------------+" +"| AutoComplPop | https://github.com/vim-scripts/AutoComplPop |" "| CtrlP | https://github.com/kien/ctrlp.vim |" -"| Undotree | https://github.com/mbbill/undotree |" +"| DelimitMate | https://github.com/Raimondi/delimitMate |" +"| EasyMotion | https://github.com/Lokaltog/vim-easymotion |" +"| Multiple-Cursors | https://github.com/terryma/vim-multiple-cursors |" +"| NERDTree | https://github.com/scrooloose/nerdtree |" "| Python-Mode | https://github.com/klen/python-mode |" -"| Tagbar | https://github.com/majutsushi/tagbar |" +"| SnipMate | https://github.com/msanders/snipmate.vim |" +"| Surround | https://github.com/tpope/vim-surround |" "| Tabular | https://github.com/godlygeek/tabular |" +"| Tagbar | https://github.com/majutsushi/tagbar |" +"| Undotree | https://github.com/mbbill/undotree |" +"| Vim-Airline | https://github.com/bling/vim-airline |" "| Vim-Perl | https://github.com/vim-perl/vim-perl |" -"| Surround | https://github.com/tpope/vim-surround |" "| Vim-Startify | https://github.com/mhinz/vim-startify |" -"| NERDTree | https://github.com/scrooloose/nerdtree |" -"| DelimitMate | https://github.com/Raimondi/delimitMate |" "| Vundle | https://github.com/gmarik/Vundle.vim.git |" -"| SnipMate | https://github.com/msanders/snipmate.vim |" -"| EasyMotion | https://github.com/Lokaltog/vim-easymotion |" -"| AutoComplPop | https://github.com/vim-scripts/AutoComplPop |" -"| Multiple-Cursors | https://github.com/terryma/vim-multiple-cursors |" "+------------------+-------------------------------------------------+" "[Colorschemes list]"""""""""""""""""""""""""""""""""""""""""""""""""""" "+------------------+-------------------------------------------------+" -"| Molokai | https://github.com/tomasr/molokai |" -"| Mirodark | https://github.com/djjcast/mirodark |" +"| Solarized | https://github.com/altercation/vim-colors-solarized |" "+------------------+-------------------------------------------------+" """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" "[To disable compatibility with Vi]" @@ -68,14 +68,22 @@ if has("unix") || has("mac") map :NERDTreeToggle Plugin 'LaTeX-Box-Team/LaTeX-Box' map ll :Latexmk - Plugin 'AutoComplPop' - Plugin 'kien/ctrlp.vim' + if isdirectory(expand("/home/lhark/.vim/bundle/YouCompleteMe")) + "[Workaround for YCM non-portability]" + Plugin 'Valloric/YouCompleteMe' + else + Plugin 'AutoComplPop' + endif + Plugin 'bling/vim-airline' Plugin 'godlygeek/tabular' - Plugin 'tpope/vim-surround' + Plugin 'kien/ctrlp.vim' + Plugin 'Lokaltog/vim-easymotion' Plugin 'mhinz/vim-startify' - Plugin 'Raimondi/delimitMate' Plugin 'msanders/snipmate.vim' - Plugin 'Lokaltog/vim-easymotion' + Plugin 'Raimondi/delimitMate' + Plugin 'tpope/vim-surround' + "[Solarized theme]" + Plugin 'altercation/vim-colors-solarized' call vundle#end() catch endtry