Compare commits
5 Commits
3f8f0fe495
...
e142630914
Author | SHA1 | Date |
---|---|---|
Rob Watson | e142630914 | |
Rob Watson | ee24a7ce17 | |
Rob Watson | 7a8f5f9073 | |
Rob Watson | 751f0376bc | |
Rob Watson | fd6ebe5c78 |
5
nvimrc
5
nvimrc
|
@ -276,11 +276,6 @@ let g:vimsyn_embed= 'lPr'
|
|||
" vim-fugitive
|
||||
packadd! vim-fugitive " https://github.com/tpope/vim-fugitive.git
|
||||
|
||||
" vim-go
|
||||
" Doesn't work in after/ftplugin/go.vim:
|
||||
let g:go_def_mapping_enabled = 0
|
||||
packadd! vim-go " https://github.com/fatih/vim-go.git
|
||||
|
||||
" load internal plugins:
|
||||
runtime macros/matchit.vim
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
require("aerial").setup({
|
||||
on_attach = function(bufnr)
|
||||
vim.keymap.set("n", "[", "<cmd>AerialPrev<CR>", { buffer = bufnr })
|
||||
vim.keymap.set("n", "]", "<cmd>AerialNext<CR>", { buffer = bufnr })
|
||||
vim.keymap.set("n", "[s", "<cmd>AerialPrev<CR>", { buffer = bufnr, noremap = true })
|
||||
vim.keymap.set("n", "]s", "<cmd>AerialNext<CR>", { buffer = bufnr, noremap = true })
|
||||
end,
|
||||
autojump = true,
|
||||
nerd_font = "auto",
|
||||
|
|
|
@ -20,5 +20,5 @@ require("conform").setup({
|
|||
lsp_fallback = true,
|
||||
},
|
||||
log_level = vim.log.levels.ERROR,
|
||||
notify_on_error = true,
|
||||
notify_on_error = false,
|
||||
})
|
||||
|
|
|
@ -66,23 +66,19 @@ nvim_lsp.gopls.setup({
|
|||
unusedresult = true,
|
||||
nilness = true,
|
||||
},
|
||||
buildFlags = { "-tags=acceptance" }
|
||||
buildFlags = { "-tags=acceptance" },
|
||||
},
|
||||
},
|
||||
init_options = {
|
||||
usePlaceholders = true,
|
||||
},
|
||||
capabilities = vim.tbl_extend(
|
||||
"error",
|
||||
capabilities,
|
||||
{
|
||||
capabilities = vim.tbl_extend("error", capabilities, {
|
||||
workspace = {
|
||||
didChangeWatchedFiles = {
|
||||
dynamicRegistration = true
|
||||
}
|
||||
}
|
||||
}
|
||||
),
|
||||
dynamicRegistration = true,
|
||||
},
|
||||
},
|
||||
}),
|
||||
on_attach = on_attach,
|
||||
})
|
||||
|
||||
|
@ -103,12 +99,12 @@ nvim_lsp.rust_analyzer.setup({
|
|||
enable = true,
|
||||
},
|
||||
},
|
||||
procMacro = {
|
||||
enable = false,
|
||||
},
|
||||
diagnostics = {
|
||||
disabled = { "unresolved-proc-macro" },
|
||||
},
|
||||
-- procMacro = {
|
||||
-- enable = false,
|
||||
-- },
|
||||
-- diagnostics = {
|
||||
-- disabled = { "unresolved-proc-macro" },
|
||||
-- },
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
6
zshrc
6
zshrc
|
@ -72,6 +72,7 @@ alias cdg=cdgit
|
|||
alias cdgit='cd $(git rev-parse --show-toplevel)'
|
||||
alias clp="tmux kill-pane"
|
||||
alias clw="tmux kill-window"
|
||||
alias ct="cargo test"
|
||||
alias d="docker"
|
||||
alias dc="docker-compose -f docker-compose.yml"
|
||||
alias dcd="docker-compose -f docker-compose.yml -f docker-compose.development.yml"
|
||||
|
@ -102,6 +103,7 @@ alias kgp="kubectl get pod -o wide"
|
|||
alias kgrpcurl="kubectl run grpcurl --image networld/grpcurl --image-pull-policy=Always -it --rm -- sh"
|
||||
alias kgs="kubectl get svc -o wide"
|
||||
alias kmplayer="kubectl run mplayer --image olmesm/mplayer-docker:latest --image-pull-policy=Always -it --rm -- sh"
|
||||
alias kt="kubetail"
|
||||
alias kw="kubectl get events -w"
|
||||
alias ll="eza -l --group-directories-first --git"
|
||||
alias ls="eza --color=auto"
|
||||
|
@ -129,8 +131,8 @@ alias tp="telepresence"
|
|||
alias tpl="telepresence list"
|
||||
alias vim="nvim"
|
||||
alias wg="sudo wg"
|
||||
alias wgdown="sudo wgdown"
|
||||
alias wgup="sudo wgup"
|
||||
alias wgdown="sudo $HOME/script/wgdown"
|
||||
alias wgup="sudo $HOME/script/wgup"
|
||||
alias zzz="sudo systemctl hibernate"
|
||||
ksecd() { kubectl get secret "$1" -o go-template='{{range $k,$v := .data}}{{printf "%s: " $k}}{{if not $v}}{{$v}}{{else}}{{$v | base64decode}}{{end}}{{"\n"}}{{end}}' }
|
||||
rgw() { SEARCH_TERM=$1; shift; rg -g '!vendor/' "\b$SEARCH_TERM\b" $* }
|
||||
|
|
Loading…
Reference in New Issue