-
Notifications
You must be signed in to change notification settings - Fork 0
/
init.vim
40 lines (34 loc) · 1.24 KB
/
init.vim
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
set termguicolors
syntax enable
set background=dark
set nocompatible
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')
Plug 'https://github.com/flazz/vim-colorschemes.git'
" Misc
Plug 'https://github.com/hashivim/vim-vagrant.git'
Plug 'https://github.com/hashivim/vim-terraform.git'
Plug 'erikzaadi/vim-ansible-yaml', { 'for' : ['yaml', 'ansible', 'markdown'] }
Plug 'joehanchoi/vim-jinja', { 'for': ['jinja', 'jinja2']}
" Misc
" Go
Plug 'fatih/vim-go', { 'for' : ['go', 'markdown'] }
Plug 'nsf/gocode', { 'rtp': 'vim', 'do': '~/.vim/plugged/gocode/vim/symlink.sh', 'for' : ['go', 'markdown'] }
" Go
Plug 'https://github.com/scrooloose/nerdtree.git'
Plug 'tpope/vim-surround'
" Bazel Support
Plug 'google/vim-maktaba'
Plug 'bazelbuild/vim-bazel'
call plug#end()
colorscheme codeschool
set tabstop=4 " a tab is four spaces
set expandtab
set autoindent " always set autoindenting on
set copyindent " copy the previous indentation on autoindenting
set number " always show line numbers
set showmatch " set show matching parenthesis