[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"]
path = resources/Menlo-for-Powerline
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 {{{
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#rc()
Plugin 'altercation/vim-colors-solarized'
Plugin 'benmills/vimux'
Plugin 'bronson/vim-trailing-whitespace'
Plugin 'davidoc/taskpaper.vim'
Plugin 'elzr/vim-json'
Plugin 'godlygeek/tabular' " must come before vim-markdown
Plugin 'gmarik/Vundle.vim'
Plugin 'junegunn/rainbow_parentheses.vim'
Plugin 'junegunn/vim-easy-align'
Plugin 'kien/ctrlp.vim'
Plugin 'majutsushi/tagbar'
Plugin 'plasticboy/vim-markdown'
Plugin 'scrooloose/nerdtree'
Plugin 'tpope/vim-commentary'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
filetype plugin indent on
syntax enable
call plug#begin('~/.vim/bundle')
Plug 'altercation/vim-colors-solarized'
Plug 'benmills/vimux'
Plug 'bronson/vim-trailing-whitespace'
Plug 'davidoc/taskpaper.vim'
Plug 'elzr/vim-json'
Plug 'godlygeek/tabular' | Plug 'plasticboy/vim-markdown'
Plug 'junegunn/rainbow_parentheses.vim'
Plug 'junegunn/vim-easy-align'
Plug 'kien/ctrlp.vim'
Plug 'majutsushi/tagbar'
Plug 'scrooloose/nerdtree'
Plug 'tpope/vim-commentary'
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
call plug#end()
let g:ctrlp_match_window = 'bottom,order:ttb'
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_powerline_fonts = 1
silent! colorscheme solarized
colorscheme solarized
filetype plugin indent on
syntax enable
" }}}
" Mappings {{{