[vim] replace Vundle with vim-plug

These features of vim-plug are particularly appealing:
    * on-demand loading -> better startup times
    * branch/tag/commit support -> controlled changes if desired
    * support for unmanaged/local plugins -> good for development of plugins
This commit is contained in:
Fernando Schauenburg 2016-03-29 23:17:23 +02:00
parent 82058ae59d
commit 316240cffa
4 changed files with 2220 additions and 28 deletions

3
.gitmodules vendored
View file

@ -1,6 +1,3 @@
[submodule "vim/bundle/Vundle.vim"]
path = vim/bundle/Vundle.vim
url = https://github.com/gmarik/Vundle.vim.git
[submodule "resources/Menlo-for-Powerline"] [submodule "resources/Menlo-for-Powerline"]
path = resources/Menlo-for-Powerline path = resources/Menlo-for-Powerline
url = https://github.com/abertsch/Menlo-for-Powerline.git url = https://github.com/abertsch/Menlo-for-Powerline.git

2201
vim/autoload/plug.vim Normal file

File diff suppressed because it is too large Load diff

@ -1 +0,0 @@
Subproject commit cfd3b2d388a8c2e9903d7a9d80a65539aabfe933

43
vimrc
View file

@ -48,29 +48,22 @@ set nocompatible
" }}} " }}}
" Plugins {{{ " Plugins {{{
filetype off call plug#begin('~/.vim/bundle')
Plug 'altercation/vim-colors-solarized'
set rtp+=~/.vim/bundle/Vundle.vim Plug 'benmills/vimux'
call vundle#rc() Plug 'bronson/vim-trailing-whitespace'
Plugin 'altercation/vim-colors-solarized' Plug 'davidoc/taskpaper.vim'
Plugin 'benmills/vimux' Plug 'elzr/vim-json'
Plugin 'bronson/vim-trailing-whitespace' Plug 'godlygeek/tabular' | Plug 'plasticboy/vim-markdown'
Plugin 'davidoc/taskpaper.vim' Plug 'junegunn/rainbow_parentheses.vim'
Plugin 'elzr/vim-json' Plug 'junegunn/vim-easy-align'
Plugin 'godlygeek/tabular' " must come before vim-markdown Plug 'kien/ctrlp.vim'
Plugin 'gmarik/Vundle.vim' Plug 'majutsushi/tagbar'
Plugin 'junegunn/rainbow_parentheses.vim' Plug 'scrooloose/nerdtree'
Plugin 'junegunn/vim-easy-align' Plug 'tpope/vim-commentary'
Plugin 'kien/ctrlp.vim' Plug 'vim-airline/vim-airline'
Plugin 'majutsushi/tagbar' Plug 'vim-airline/vim-airline-themes'
Plugin 'plasticboy/vim-markdown' call plug#end()
Plugin 'scrooloose/nerdtree'
Plugin 'tpope/vim-commentary'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
filetype plugin indent on
syntax enable
let g:ctrlp_match_window = 'bottom,order:ttb' let g:ctrlp_match_window = 'bottom,order:ttb'
let g:ctrlp_switch_buffer = 0 " open files in new buffer let g:ctrlp_switch_buffer = 0 " open files in new buffer
@ -85,7 +78,9 @@ set nocompatible
let g:airline_theme="solarized" let g:airline_theme="solarized"
let g:airline_powerline_fonts = 1 let g:airline_powerline_fonts = 1
silent! colorscheme solarized colorscheme solarized
filetype plugin indent on
syntax enable
" }}} " }}}
" Mappings {{{ " Mappings {{{