-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
70 lines (58 loc) · 1.72 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
67
68
69
70
set nocompatible
set nobackup
set noswapfile
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-unimpaired'
Plugin 'wincent/command-t'
Plugin 'solarized'
Plugin 'derekwyatt/vim-scala'
Plugin 'ycm-core/YouCompleteMe'
Plugin 'flazz/vim-colorschemes'
Plugin 'fisadev/vim-isort'
Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'JazzCore/ctrlp-cmatcher'
Plugin 'elixir-editors/vim-elixir'
Plugin 'pangloss/vim-javascript'
Plugin 'mxw/vim-jsx'
Plugin 'fatih/vim-go'
Plugin 'PProvost/vim-ps1'
Plugin 'hashivim/vim-terraform'
Bundle 'OmniSharp/omnisharp-vim'
Plugin 'vim-syntastic/syntastic'
call vundle#end()
set expandtab
set shiftwidth=4
set softtabstop=4
set tabstop=4
" set incremental and smart search
set incsearch
set ignorecase
set smartcase
set nohlsearch
filetype plugin indent on
autocmd Filetype python setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=4
autocmd Filetype json setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=4
autocmd Filetype twig setlocal noexpandtab shiftwidth=4 softtabstop=4 tabstop=4
autocmd Filetype php setlocal expandtab shiftwidth=4 softtabstop=4 tabstop=4
autocmd Filetype go setlocal noexpandtab shiftwidth=4 softtabstop=4 tabstop=4
autocmd Filetype javascript setlocal expandtab shiftwidth=2 softtabstop=2 tabstop=2
set guioptions-=m
set guioptions-=T
set t_Co=256
set background=dark
if has("gui_running")
colorscheme C64
set guifont=Monospace\ 11
endif
set path=~/**
set list
set listchars=tab:>-
let g:ycm_autoclose_preview_window_after_insertion = 1
let g:CommandTFileScanner = "git"
let g:CommandTGitScanSubmodules = 1
let g:CommandTGitIncludeUntracked = 1
let g:ctrlp_match_func = {'match' : 'matcher#cmatch'}