summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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