-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
47 lines (36 loc) · 947 Bytes
/
vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
if empty(glob('~/.vim/autoload/plug.vim'))
silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
autocmd VimEnter * PlugInstall | source $MYVIMRC
endif
call plug#begin('~/.vim/plugged')
" General Plugins
Plug 'tpope/vim-sensible'
Plug 'bling/vim-airline'
Plug 'tpope/vim-surround'
" Ruby/Rails Plugins
Plug 'tpope/vim-bundler'
Plug 'tpope/vim-rails'
Plug 'tpope/vim-dispatch'
Plug 'tpope/vim-endwise'
Plug 'tpope/vim-dotenv'
" SCM Plugins
Plug 'tpope/vim-fugitive'
Plug 'nfvs/vim-perforce'
" Colorscheme Plugins
Plug 'altercation/vim-colors-solarized'
" Syntax Plugins
Plug 'wting/rust.vim'
Plug 'tikhomirov/vim-glsl'
Plug 'elzr/vim-json'
call plug#end()
syntax enable
set background=dark
silent! colorscheme solarized
set expandtab
set shiftwidth=2
set softtabstop=2
let g:airline_powerline_fonts=1
if has('nvim')
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
end