-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
62 lines (55 loc) · 1.47 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
" Be better
set nocompatible
" Load Vundle plugins
filetype off
" Windows version
" set rtp+=$HOME/vimfiles/bundle/Vundle.vim/
" call vundle#begin('$HOME/vimfiles/bundle/')
" Non-Windows version
set rtp+=~/.vim/bundle/Vundle.vim/
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'editorconfig/editorconfig-vim'
Plugin 'nanotech/jellybeans.vim'
Plugin 'vim-syntastic/syntastic'
Plugin 'hashivim/vim-consul'
Plugin 'hashivim/vim-packer'
Plugin 'PProvost/vim-ps1'
Plugin 'rodjek/vim-puppet'
Plugin 'hashivim/vim-terraform'
Plugin 'hashivim/vim-vagrant'
Plugin 'hashivim/vim-vaultproject'
Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-surround'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
call vundle#end()
" Settings
colorscheme jellybeans
set ts=4
set nowrap
set nobackup
set number
syntax on
filetype plugin indent on
" syntastic configuration
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
" vim-airline configuration
let g:airline_theme='jellybeans'
if !has("gui_running")
" Set non-gui version to display color properly
set term=xterm
set t_Co=256
let &t_AB="\e[48;5;%dm"
let &t_AF="\e[38;5;%dm"
" Fix for backspace key to delete left instead of right in ConEmu
inoremap <Char-0x07F> <BS>
nnoremap <Char-0x07F> <BS>
endif