2021-01-18 08:52:37 +00:00
|
|
|
set breakindent
|
|
|
|
set completeopt=menuone,noinsert,noselect
|
|
|
|
set noswapfile
|
|
|
|
set number
|
|
|
|
set relativenumber
|
|
|
|
set scrolloff=4
|
|
|
|
set virtualedit=block
|
|
|
|
set whichwrap=<,>,[,]
|
|
|
|
|
2021-02-18 04:02:07 +00:00
|
|
|
" True color
|
|
|
|
" https://gist.github.com/XVilka/8346728
|
2021-02-18 06:23:12 +00:00
|
|
|
set termguicolors
|
2021-02-18 04:02:07 +00:00
|
|
|
|
2021-01-18 08:52:37 +00:00
|
|
|
" install xclip
|
|
|
|
set clipboard+=unnamedplus
|
|
|
|
|
|
|
|
" FZF
|
|
|
|
set rtp+=~/.fzf
|
|
|
|
|
|
|
|
" plugins config
|
|
|
|
let g:go_fillstruct_mode = 'gopls'
|
|
|
|
let g:go_fmt_command='gofumports'
|
2021-02-17 11:33:13 +00:00
|
|
|
let g:go_version_warning = 0
|
2021-01-18 08:52:37 +00:00
|
|
|
|
|
|
|
" vim-plug
|
|
|
|
call plug#begin()
|
2021-02-18 04:02:07 +00:00
|
|
|
Plug 'lifepillar/vim-solarized8'
|
2021-01-18 08:52:37 +00:00
|
|
|
Plug 'preservim/nerdtree'
|
|
|
|
Plug 'machakann/vim-sandwich'
|
|
|
|
Plug 'fatih/vim-go'
|
|
|
|
call plug#end()
|
2021-02-18 04:02:07 +00:00
|
|
|
|
|
|
|
set background=dark
|
|
|
|
colorscheme solarized8
|