diff --git a/dot_config/nvim/coc-settings.json b/dot_config/nvim/coc-settings.json index 9502e8e..9b604d5 100644 --- a/dot_config/nvim/coc-settings.json +++ b/dot_config/nvim/coc-settings.json @@ -33,16 +33,6 @@ "reason" ] }, - "golang": { - "command": "gopls", - "rootPatterns": [ - "go.mod" - ], - "disableWorkspaceFolders": true, - "filetypes": [ - "go" - ] - }, "haskell": { "command": "ghcide", "args": [ diff --git a/dot_config/nvim/coc.vim b/dot_config/nvim/coc.vim index e80e3a7..b5e2865 100644 --- a/dot_config/nvim/coc.vim +++ b/dot_config/nvim/coc.vim @@ -41,3 +41,9 @@ nmap f (coc-format-selected) xmap f (coc-format-selected) inoremap coc#refresh() + +xmap a (coc-codeaction-selected) +nmap a (coc-codeaction-selected) + +nmap ac (coc-codeaction) +nmap qf (coc-fix-current) diff --git a/dot_config/nvim/init.vim b/dot_config/nvim/init.vim index 6575ce0..70c2c31 100644 --- a/dot_config/nvim/init.vim +++ b/dot_config/nvim/init.vim @@ -25,6 +25,9 @@ Plug 'cespare/vim-toml' Plug 'godlygeek/tabular' Plug 'plasticboy/vim-markdown' +Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } +let g:go_fmt_command = 'goimports' + let g:vim_markdown_new_list_item_indent = 2 let g:vim_markdown_folding_disabled = 1 let g:vim_markdown_toml_frontmatter = 1 diff --git a/dot_zshrc b/dot_zshrc index c446efe..d2f04e8 100644 --- a/dot_zshrc +++ b/dot_zshrc @@ -19,7 +19,7 @@ export EDITOR=nvim source $HOME/.cargo/env -export PATH="$HOME/.local/scripts:$HOME/.dotnet/tools:$PATH:$HOME/go/bin" +export PATH="$HOME/.local/bin:$HOME/.local/scripts:$HOME/.dotnet/tools:$PATH:$HOME/go/bin" [ -f "${GHCUP_INSTALL_BASE_PREFIX:=$HOME}/.ghcup/env" ] && source "${GHCUP_INSTALL_BASE_PREFIX:=$HOME}/.ghcup/env" [[ -s /home/michael/.autojump/etc/profile.d/autojump.sh ]] && source /home/michael/.autojump/etc/profile.d/autojump.sh diff --git a/private_dot_ssh/.keep b/private_dot_ssh/.keep new file mode 100644 index 0000000..e69de29 diff --git a/private_dot_ssh/config b/private_dot_ssh/config new file mode 100644 index 0000000..3b6047e --- /dev/null +++ b/private_dot_ssh/config @@ -0,0 +1,25 @@ +Host argo + HostName argo.acm.umn.edu + User michael + +Host kabe + HostName 159.65.217.204 + User michael + +Host homelab + HostName 142.93.75.170 + User michael + +Host gitea + HostName 142.93.75.170 + # HostName 10.8.0.1 + Port 2222 + User git + +Host r0 + HostName rhimes0.sift.net + User mzhang + +Host comm + User root + HostName 68.183.28.29