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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
set nocompatible
syntax enable
set nowrap
set listchars=tab:›\ ,nbsp:_,trail:·
set list
set encoding=utf-8
set fileencoding=utf-8
set fileformat=unix
set smartindent
set tabstop=2
set shiftwidth=2
set softtabstop=2
set expandtab
set incsearch
set ignorecase
set smartcase
set wildignorecase
set path+=**
set wildmenu
set wildmode=longest,list,full
set suffixesadd=.js,.ts
call plug#begin('~/.local/share/nvim/plugged')
Plug 'PotatoesMaster/i3-vim-syntax'
Plug 'chr4/nginx.vim'
Plug 'chrisbra/csv.vim', {'for' : 'csv'}
Plug 'chrisbra/Colorizer'
Plug 'dhruvasagar/vim-table-mode'
Plug 'editorconfig/editorconfig-vim'
Plug 'fatih/vim-go', {'for' : 'go'}
Plug 'junegunn/fzf'
Plug 'kana/vim-textobj-entire'
Plug 'kana/vim-textobj-user'
Plug 'leafgarland/typescript-vim', {'for' : 'typescript'}
Plug 'mhinz/vim-rfc'
Plug 'prettier/vim-prettier'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-fugitive'
Plug 'tpope/vim-rhubarb'
Plug 'tpope/vim-surround'
Plug 'vim-scripts/argtextobj.vim'
Plug 'vim-scripts/camelcasemotion'
Plug 'vito-c/jq.vim'
call plug#end()
" here is some stuff
hi! ColorColumn ctermfg=NONE ctermbg=DarkBlue cterm=NONE
hi! Comment ctermfg=DarkBlue ctermbg=NONE cterm=NONE
hi! Conceal ctermfg=DarkBlue ctermbg=NONE cterm=NONE
hi! Constant ctermfg=Cyan ctermbg=NONE cterm=NONE
hi! CursorColumn ctermfg=NONE ctermbg=NONE cterm=NONE
hi! CursorLine ctermfg=Yellow ctermbg=NONE cterm=NONE
hi! CursorLineConceal ctermfg=DarkBlue ctermbg=NONE cterm=NONE
hi! CursorLineNr ctermfg=Yellow ctermbg=NONE cterm=NONE
hi! DiffAdd ctermfg=Black ctermbg=Yellow cterm=NONE
hi! DiffChange ctermfg=Blue ctermbg=Yellow cterm=NONE
hi! DiffText ctermfg=White ctermbg=Yellow cterm=NONE
hi! Directory ctermfg=Blue ctermbg=NONE cterm=NONE
hi! Error ctermfg=Black ctermbg=Red cterm=NONE
hi! ErrorMsg ctermfg=Black ctermbg=Red cterm=standout
hi! FoldColumn ctermfg=NONE ctermbg=NONE cterm=NONE
hi! Folded ctermfg=DarkBlue ctermbg=NONE cterm=NONE
hi! Function ctermfg=Yellow ctermbg=NONE cterm=NONE
hi! GitGutterAdd ctermfg=Cyan ctermbg=NONE cterm=NONE
hi! GitGutterChange ctermfg=Blue ctermbg=NONE cterm=NONE
hi! GitGutterChangeDelete ctermfg=Yellow ctermbg=NONE cterm=NONE
hi! GitGutterDelete ctermfg=Yellow ctermbg=NONE cterm=NONE
hi! Identifier ctermfg=Blue ctermbg=NONE cterm=NONE
hi! Ignore ctermfg=NONE ctermbg=NONE cterm=NONE
hi! LineNr ctermfg=DarkBlue ctermbg=NONE cterm=NONE
hi! LongLineWarning ctermfg=NONE ctermbg=NONE cterm=underline
hi! MatchParen ctermfg=White ctermbg=NONE cterm=underline
hi! ModeMsg ctermfg=Cyan ctermbg=NONE cterm=NONE
hi! MoreMsg ctermfg=Cyan ctermbg=NONE cterm=NONE
hi! NonText ctermfg=DarkBlue ctermbg=NONE cterm=NONE
hi! Normal ctermfg=White ctermbg=NONE term=NONE
hi! Operator ctermfg=Yellow ctermbg=NONE cterm=NONE
hi! Pmenu ctermfg=Black ctermbg=Yellow cterm=NONE
hi! PmenuSel ctermfg=Black ctermbg=Yellow cterm=reverse
hi! PreProc ctermfg=Red ctermbg=NONE cterm=NONE
hi! Question ctermfg=Cyan ctermbg=NONE cterm=NONE
hi! Search ctermfg=Black ctermbg=Cyan cterm=NONE
hi! SignColumn ctermfg=NONE ctermbg=Yellow cterm=NONE
hi! Special ctermfg=Red ctermbg=NONE cterm=NONE
hi! SpecialKey ctermfg=Yellow ctermbg=NONE cterm=NONE
hi! SpellBad ctermfg=Red ctermbg=NONE cterm=underline
hi! SpellCap ctermfg=Red ctermbg=NONE cterm=underline
hi! SpellLocal ctermfg=Yellow ctermbg=NONE cterm=underline
hi! SpellRare ctermfg=Magenta ctermbg=NONE cterm=underline
hi! Statement ctermfg=Yellow ctermbg=NONE cterm=NONE
hi! StatusLine ctermfg=Blue ctermbg=NONE cterm=bold
hi! StatusLineNC ctermfg=DarkBlue ctermbg=NONE cterm=NONE
hi! String ctermfg=Cyan ctermbg=NONE cterm=NONE
hi! Structure ctermfg=Red ctermbg=NONE cterm=NONE
hi! TabLine ctermfg=DarkBlue ctermbg=Black cterm=NONE
hi! TabLineFill ctermfg=DarkBlue ctermbg=Black cterm=NONE
hi! Title ctermfg=Yellow ctermbg=NONE cterm=NONE
hi! Todo ctermfg=Yellow ctermbg=NONE cterm=NONE
hi! Type ctermfg=Blue ctermbg=NONE cterm=NONE
hi! Underlined ctermfg=Blue ctermbg=NONE cterm=underline
hi! VertSplit ctermfg=DarkBlue ctermbg=NONE cterm=NONE
hi! Visual ctermfg=Black ctermbg=Yellow cterm=NONE
hi! WarningMsg ctermfg=Red ctermbg=NONE cterm=NONE
hi! WildMenu ctermfg=Black ctermbg=Yellow cterm=NONE
hi! qfLineNr ctermfg=Yellow ctermbg=NONE cterm=NONE
au FileType markdown setlocal spell tw=80 colorcolumn=81 nosmartindent
au FileType gitcommit setlocal spell
au FileType java setlocal errorformat=[ERROR]\ %f:[%l\\,%v]\ %m
au FileType gitconfig setlocal noexpandtab
au FileType crontab setlocal nowritebackup
au FileType mail setlocal spell
au FileType bindzone setlocal noexpandtab ts=8 sts=8 sw=8
au BufWritePost $CONF_SOURCE/templates/* call ConfApply(expand('%:p'))
function! ConfApply(name)
let l:rel = substitute(a:name, "^".expand($CONF_SOURCE."/templates/"), "", "")
silent execute "!conf apply " . l:rel
endfunction
let g:colorizer_auto_filetype=''
let g:go_def_mode='gopls'
let g:go_info_mode='gopls'
nnoremap <silent> <Esc><Esc> <Esc>:noh<CR><Esc>
noremap ; :
nmap <C-p> :FZF<CR>
|