-
Notifications
You must be signed in to change notification settings - Fork 11
/
vimrc
66 lines (57 loc) · 1.75 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
63
64
65
66
" Installation Instructions
" 1. Place file in home directory as .vimrc
" 2. Run the following command in terminal
" mkdir .vim .vim/bundle .vim/backup .vim/swap .vim/cache .vim/undo; git clone https://github.com/gmarik/vundle.git .vim/bundle/vundle
" 3. Launch Vim and Run
" :BundleInstall
" 5. Restart Vim
set nocompatible
filetype off
filetype plugin on
if has("win32")
" We're on Windows.
let g:vim_home_path = "~/vimfiles"
else
" We're on some POSIX system, hopefully.
let g:vim_home_path = "~/.vim"
endif
" Golang stuff
if isdirectory($GOROOT)
set runtimepath+=$GOROOT/misc/vim
endif
execute "set rtp+=" . g:vim_home_path . "/bundle/vundle/"
let g:vundle_default_git_proto = 'https'
call vundle#rc(g:vim_home_path. "/bundle")
Bundle 'gmarik/vundle'
" Language plugins
Bundle "bryanjswift/vim-rust"
Bundle "elzr/vim-json"
Bundle "empanda/vim-varnish"
Bundle "groenewege/vim-less"
Bundle "Glench/Vim-Jinja2-Syntax"
Bundle "kchmck/vim-coffee-script"
Bundle "PProvost/vim-ps1"
Bundle "rodjek/vim-puppet"
Bundle "tpope/vim-markdown"
Bundle "nono/vim-handlebars"
Bundle "fatih/vim-go"
" Other plugins
Bundle "airblade/vim-gitgutter"
Bundle "godlygeek/tabular"
Bundle "kien/ctrlp.vim"
Bundle "Lokaltog/vim-easymotion"
Bundle "Lokaltog/vim-powerline"
Bundle "mileszs/ack.vim"
Bundle "mhinz/vim-startify"
Bundle "scrooloose/syntastic"
Bundle "tpope/vim-eunuch"
Bundle "tpope/vim-fugitive"
" Personal bundles
Bundle 'mitchellh/vim-misc'
" Turn on filetype plugin and indent loading so that loading the
" vim-misc stuff below loads the proper files.
filetype plugin indent on
" Load in my custom vimrc if it exists
if filereadable(expand(g:vim_home_path . "/bundle/vim-misc/vimrc.vim"))
execute "source " . g:vim_home_path . "/bundle/vim-misc/vimrc.vim"
endif