-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdot_vimrc
More file actions
81 lines (68 loc) · 2.13 KB
/
dot_vimrc
File metadata and controls
81 lines (68 loc) · 2.13 KB
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
71
72
73
74
75
76
77
78
79
80
81
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 --sync | source "${MYVIMRC}"
endif
call plug#begin()
Plug 'airblade/vim-gitgutter'
Plug 'andrewstuart/vim-kubernetes'
Plug 'cespare/vim-toml', { 'for': 'toml' }
Plug 'ddollar/golang-template.vim', { 'for': 'go' }
Plug 'easymotion/vim-easymotion'
Plug 'editorconfig/editorconfig-vim'
Plug 'elzr/vim-json', { 'for': 'json' }
Plug 'fatih/vim-go', { 'for': 'go', 'do': ':GoInstallBinaries' }
let g:go_highlight_functions = 1
let g:go_highlight_methods = 1
let g:go_highlight_fields = 1
let g:go_highlight_types = 1
let g:go_highlight_operators = 1
let g:go_highlight_build_constraints = 1
Plug 'hashivim/vim-terraform', { 'for': 'hcl'}
Plug 'itchyny/lightline.vim'
set laststatus=2
set noshowmode
Plug 'jbgutierrez/vim-better-comments'
Plug 'mustache/vim-mustache-handlebars'
Plug 'preservim/nerdtree'
Plug 'sainnhe/sonokai'
let g:lightline = {'colorscheme': 'sonokai'}
Plug 'scrooloose/syntastic'
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 1
let g:syntastic_markdown_mdl_exec = 'markdownlint-cli2'
let g:syntastic_markdown_mdl_args = ''
let g:syntastic_python_checkers = ['pylint', 'python']
let g:syntastic_ruby_checkers = ['rubocop', 'mri']
Plug 'sheerun/vim-polyglot'
Plug 'towolf/vim-helm', { 'for': 'yaml' }
Plug 'tpope/vim-abolish'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-endwise'
Plug 'tpope/vim-eunuch'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-sensible'
Plug 'tpope/vim-surround'
Plug 'yorinasub17/vim-terragrunt'
call plug#end()
colorscheme sonokai
set rtp+='/opt/homebrew/opt/fzf'
set autoindent
set colorcolumn=80,120
set cursorcolumn
set cursorline
set expandtab
set mouse=a
set modeline
set number
set nowrap
set relativenumber
set ruler
set shiftwidth=2
set showmatch
set softtabstop=2
set tabstop=2
set termguicolors
set viminfo=
autocmd BufWritePost '${HOME}/.local/share/chezmoi/*' ! chezmoi apply --source-path '%'