Skip to content

Commit

Permalink
switch to vim-plug from vundle
Browse files Browse the repository at this point in the history
It sounds like vundle isn't being actively maintained and
Plug is the new hotness. Something to be said for keeping
it active.
  • Loading branch information
srsudar committed Apr 17, 2016
1 parent f9c70e0 commit 1f8ec53
Showing 1 changed file with 50 additions and 48 deletions.
98 changes: 50 additions & 48 deletions vim/vimrc
Expand Up @@ -4,88 +4,90 @@ set t_Co=256

" ---------- plugins ---------

" setting up vundle
filetype off
set runtimepath+=~/.vim/bundle/vundle
call vundle#rc()
" Switching from vundle to vim-plug.
" This will load and install vim-plug if it isn't already installed.
" Load vim-plug
if empty(glob("~/.vim/autoload/plug.vim"))
execute '!curl -fLo ~/.vim/autoload/plug.vim https://raw.github.com/junegunn/vim-plug/master/plug.vim'
endif

Bundle 'gmarik/vundle'
" begin vim-plug section
" Directions are here: https://github.com/junegunn/vim-plug.
" Basically, first initialize using curl -fLo ~/.vim/autoload/plug.vim
" --create-dirs \
" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim and
" This section is for vim-plug managed plugins.
" :PlugInstall to install them.

call plug#begin('~/.vim/plugged')

" fzf for searching
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
" search with ack
Bundle 'mileszs/ack.vim'
Plug 'mileszs/ack.vim'
" some git integration and status info
Bundle 'tpope/vim-fugitive'
Plug 'tpope/vim-fugitive'
" file browser on the left
Bundle 'scrooloose/nerdtree'
Plug 'scrooloose/nerdtree'
" and make the nerdtree file browser consistent between tabs
Bundle 'jistr/vim-nerdtree-tabs'
Plug 'jistr/vim-nerdtree-tabs'
" more python support
Bundle 'klen/python-mode'
Plug 'klen/python-mode'
" surround things with other things
Bundle 'tpope/vim-surround'
Plug 'tpope/vim-surround'
" syntax highlighting
Bundle 'scrooloose/syntastic'
Plug 'scrooloose/syntastic'
" complementary mappings
Bundle 'tpope/vim-unimpaired'
Plug 'tpope/vim-unimpaired'
" solarized
Bundle 'altercation/vim-colors-solarized'
Plug 'altercation/vim-colors-solarized'
" GO integration
Bundle 'fatih/vim-go'
Plug 'fatih/vim-go'
" gradle integration
Bundle 'tfnico/vim-gradle'
Plug 'tfnico/vim-gradle'
" more sane regex
Bundle 'nelstrom/vim-visual-star-search'
Plug 'nelstrom/vim-visual-star-search'
" fuzzy search for files using ctrl+p
Plugin 'kien/ctrlp.vim'
Plug 'kien/ctrlp.vim'
" open alternate files (eg foo.h quick opens foo.c)
Plugin 'vim-scripts/a.vim'
Plug 'vim-scripts/a.vim'
" show git status of lines
Plugin 'airblade/vim-gitgutter'
Plug 'airblade/vim-gitgutter'
" Smart align things like markdown tables
Plugin 'godlygeek/tabular'
Plug 'godlygeek/tabular'
" Use ctrl+h,j,k,l to navigate tmux and vim windows
Plugin 'christoomey/vim-tmux-navigator'
Plug 'christoomey/vim-tmux-navigator'
" Use github-flavored markdown highlighting, not canonical md highlighthing
Plugin 'jtratner/vim-flavored-markdown'
Plug 'jtratner/vim-flavored-markdown'
" Prettier status line.
Plugin 'bling/vim-airline'
Plug 'bling/vim-airline'
Plug 'vim-airline/vim-airline-themes'
" Commenting with gc{motion}
Plugin 'tpope/vim-commentary'
Plug 'tpope/vim-commentary'
" Define custom text objects. Required for vim-textobj-entire
Plugin 'kana/vim-textobj-user'
Plug 'kana/vim-textobj-user'
" Add 'whole file' objects with ae and ie (ignores leading/trailing whitespace)
Plugin 'kana/vim-textobj-entire'
Plug 'kana/vim-textobj-entire'
" Allow . repeating using vim-surround
Plugin 'tpope/vim-repeat'
Plug 'tpope/vim-repeat'
" Smarter CTRL-A and CTRL-X for addition/subtraction
Plugin 'tpope/vim-speeddating'
Plug 'tpope/vim-speeddating'
" Auto-conversion to snake, camel, mixed, upper case with crs, crc, crm, cru
Plugin 'tpope/vim-abolish'
Plug 'tpope/vim-abolish'
" Allow smarter pasting.
Plugin 'svermeulen/vim-easyclip'
Plug 'svermeulen/vim-easyclip'
" Word objects for columns of text
Plugin 'coderifous/textobj-word-column.vim'
Plug 'coderifous/textobj-word-column.vim'
" latex support
Plugin 'lervag/vimtex'
Plug 'lervag/vimtex'
" Readline-style bindings in vim
Plugin 'tpope/vim-rsi'
Plug 'tpope/vim-rsi'
" More information for <ctrl>+a character information, including unicode
Plugin 'tpope/vim-characterize'
Plug 'tpope/vim-characterize'
" Fancy pants auto completion
Plugin 'valloric/YouCompleteMe'
Plug 'valloric/YouCompleteMe'

" begin vim-plug section
" I want to be able to use fzf-vim, which looks like it's easiest to install
" using vim-plug. Directions are here: https://github.com/junegunn/vim-plug.
" Basically, first initialize using curl -fLo ~/.vim/autoload/plug.vim
" --create-dirs \
" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim and
" This section is for vim-plug managed plugins.
" :PlugInstall to install them.
call plug#begin('~/.vim/plugged')

Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'

" Add plugins to &runtimepath
call plug#end()
Expand Down

0 comments on commit 1f8ec53

Please sign in to comment.