-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
49 lines (42 loc) · 1.16 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
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 --sync | source $MYVIMRC
endif
call plug#begin('~/.vim/plugged')
Plug 'airblade/vim-gitgutter'
Plug 'archseer/colibri.vim'
Plug 'dense-analysis/ale'
Plug 'farmergreg/vim-lastplace'
Plug 'fatih/vim-go'
Plug 'hashivim/vim-terraform'
" Plug 'junegunn/fzf.vim'
Plug 'junegunn/vim-easy-align'
Plug 'sheerun/vim-polyglot'
Plug 'tpope/vim-abolish'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-dispatch'
Plug 'tpope/vim-eunuch'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-repeat'
Plug 'tpope/vim-rhubarb'
Plug 'tpope/vim-sleuth'
Plug 'tpope/vim-surround'
call plug#end()
set termguicolors
colorscheme colibri
set viminfo='100,s100
set backspace=indent,eol,start
set ts=4
set ruler
set updatetime=500
let g:gitgutter_override_sign_column_highlight = 0
let g:terraform_fmt_on_save = 1
" ALE
let g:ale_linters_explicit = 1
let g:ale_linters = {
\ 'sh': ['shellcheck'],
\ 'yaml': ['yamllint'],
\}
nmap <silent> <C-k> <Plug>(ale_previous_wrap)
nmap <silent> <C-j> <Plug>(ale_next_wrap)