chore: update configs
parent
59f3a888c5
commit
01e3ab0357
|
@ -1,18 +1,10 @@
|
|||
{
|
||||
"apps": {
|
||||
"tmux": {
|
||||
"folders": [
|
||||
{
|
||||
"from": "configs/tmux",
|
||||
"to": "~/.config/tmux"
|
||||
}
|
||||
]
|
||||
},
|
||||
"nvim": {
|
||||
"folders": [
|
||||
"files": [
|
||||
{
|
||||
"from": "configs/nvim",
|
||||
"to": "~/.config/nvim"
|
||||
"internal": "configs/nvim/init.vim",
|
||||
"external": "~/.config/nvim/init.vim"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -0,0 +1,26 @@
|
|||
set breakindent
|
||||
set completeopt=menuone,noinsert,noselect
|
||||
set noswapfile
|
||||
set number
|
||||
set relativenumber
|
||||
set scrolloff=4
|
||||
set virtualedit=block
|
||||
set whichwrap=<,>,[,]
|
||||
|
||||
" install xclip
|
||||
set clipboard+=unnamedplus
|
||||
|
||||
" FZF
|
||||
set rtp+=~/.fzf
|
||||
|
||||
" plugins config
|
||||
let g:go_fillstruct_mode = 'gopls'
|
||||
let g:go_fmt_command='gofumports'
|
||||
|
||||
" vim-plug
|
||||
call plug#begin()
|
||||
Plug 'preservim/nerdtree'
|
||||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'machakann/vim-sandwich'
|
||||
Plug 'fatih/vim-go'
|
||||
call plug#end()
|
2
main.go
2
main.go
|
@ -39,7 +39,7 @@ func main() {
|
|||
},
|
||||
Flags: []cli.Flag{
|
||||
&cli.StringFlag{
|
||||
Name: "pathFlag",
|
||||
Name: pathFlag,
|
||||
Usage: "path to `DOTFILES`",
|
||||
},
|
||||
},
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
set breakindent
|
||||
set completeopt=menuone,noinsert,noselect
|
||||
set noswapfile
|
||||
set number
|
||||
set scrolloff=2
|
||||
set virtualedit=block
|
||||
set whichwrap=<,>,[,]
|
|
@ -1 +0,0 @@
|
|||
set -g default-terminal "screen-256color"
|
Loading…
Reference in New Issue