summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2013-11-10 19:35:26 -0500
committerJune McEnroe <june@causal.agency>2013-11-10 19:35:26 -0500
commit2bd5da9a4a5f442e712ce2df8cd54b98c84cfd7b (patch)
treebd68e5d426259a449aa889e6f36834595171d1c8
parentSwitch to effuse.yml for Effuse 2.1 (diff)
downloadsrc-2bd5da9a4a5f442e712ce2df8cd54b98c84cfd7b.tar.gz
src-2bd5da9a4a5f442e712ce2df8cd54b98c84cfd7b.zip
Reorganize vimrc (again)
-rw-r--r--.vimrc59
1 files changed, 30 insertions, 29 deletions
diff --git a/.vimrc b/.vimrc
index 9057442a..e053dd25 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1,5 +1,27 @@
 set nocompatible
 
+call plug#begin('~/.vim/plugged')
+  Plug 'Raynes/refheap.vim'
+  Plug 'bling/vim-airline'
+  Plug 'jiangmiao/auto-pairs'
+  Plug 'junegunn/vim-easy-align'
+  Plug 'kien/ctrlp.vim'
+  Plug 'majutsushi/tagbar'
+  Plug 'mattn/gist-vim'
+  Plug 'mattn/webapi-vim'
+  Plug 'mhinz/vim-signify'
+  Plug 'programble/itchy.vim'
+  Plug 'programble/jellybeans.vim'
+  Plug 'scrooloose/syntastic'
+  Plug 'sickill/vim-pasta'
+  Plug 'tpope/vim-commentary'
+  Plug 'tpope/vim-endwise'
+  Plug 'tpope/vim-fugitive'
+  Plug 'tpope/vim-markdown'
+  Plug 'tpope/vim-ragtag'
+  Plug 'tpope/vim-surround'
+call plug#end()
+
 set backspace=indent,eol,start
 set hidden
 set backup
@@ -25,8 +47,10 @@ set listchars=tab:»·,trail:·
 set foldmethod=syntax
 set foldlevel=1000
 set laststatus=2
+set noshowmode
 set scrolloff=1
 syntax on
+colorscheme jellybeans
 
 " Enable mouse in terminals
 if has('mouse')
@@ -121,55 +145,32 @@ nmap <C-n> :call NumberToggle()<CR>
 
 command! W :w
 
-" Plugins
-
-call plug#begin('~/.vim/plugged')
-
-Plug 'bling/vim-airline'
-set noshowmode
+" Airline
 let g:airline_left_sep = ''
 let g:airline_right_sep = ''
 let g:airline#extensions#hunks#non_zero_only = 1
 let g:airline#extensions#whitespace#enabled = 0
 
-Plug 'scrooloose/syntastic'
+" Syntastic
 let g:syntastic_check_on_open=1
 let g:syntastic_enable_signs=0
 let g:syntastic_auto_loc_list=2
 
-Plug 'mhinz/vim-signify'
+" Signify
 let g:signify_vcs_list = ['git']
 let g:signify_sign_overwrite = 1
 let g:signify_sign_change = '~'
 
-Plug 'kien/ctrlp.vim'
+" CtrlP
 nmap <leader>b :CtrlPBuffer<CR>
 nmap <leader>e :CtrlP<CR>
 nmap <leader>t :CtrlPBufTag<CR>
 nmap <leader>l :CtrlPLine<CR>
 
-Plug 'tpope/vim-fugitive'
+" Fugitive
 nmap <leader>gs :Gstatus<CR>
 nmap <leader>gc :Gcommit<CR>
 nmap <leader>gp :Git push<CR>
 
-Plug 'junegunn/vim-easy-align'
+" Easy Align
 vnoremap <silent> <Enter> :EasyAlign<Enter>
-
-Plug 'Raynes/refheap.vim'
-Plug 'jiangmiao/auto-pairs'
-Plug 'majutsushi/tagbar'
-Plug 'mattn/gist-vim'
-Plug 'mattn/webapi-vim'
-Plug 'programble/itchy.vim'
-Plug 'programble/jellybeans.vim'
-Plug 'sickill/vim-pasta'
-Plug 'tpope/vim-commentary'
-Plug 'tpope/vim-endwise'
-Plug 'tpope/vim-markdown'
-Plug 'tpope/vim-ragtag'
-Plug 'tpope/vim-surround'
-
-call plug#end()
-
-colorscheme jellybeans