-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvimrc
35 lines (30 loc) · 831 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
set smartindent
set autoindent
set paste
set encoding=utf-8
set cursorline
set number
set tabstop=4
set shiftwidth=4
set expandtab
retab
set showmatch
let python_highlight_all = 1
autocmd FileType tex,pl,c,py,pp,txt setlocal textwidth=80
autocmd FileType pp setlocal tabstop=2
autocmd FileType js setlocal tabstop=2
autocmd FileType java setlocal tabstop=4 noexpandtab
autocmd BufNewFile,BufRead Jenkinsfile set syntax=groovy
autocmd BufNewFile,BufRead Jenkinsfile-curriculum set syntax=groovy
let g:airline_powerline_fonts = 1
set t_Co=256
" vmap <Enter> <Plug>(EasyAlign)
call plug#begin('~/.vim/plugged')
Plug 'valloric/youcompleteme'
Plug 'vim-airline/vim-airline'
Plug 'airblade/vim-gitgutter'
Plug 'tpope/vim-fugitive'
Plug 'vim-airline/vim-airline-themes'
Plug 'fatih/vim-go'
" Initialize plugin system
call plug#end()