diff --git a/nvim/m-housh/lua/plugins/lsp.lua b/nvim/m-housh/lua/plugins/lsp.lua index 2201d81..315e489 100755 --- a/nvim/m-housh/lua/plugins/lsp.lua +++ b/nvim/m-housh/lua/plugins/lsp.lua @@ -69,7 +69,7 @@ return { --vim.keymap.set("n", "rn", vim.lsp.buf.rename, opts) opts.desc = "[R]eload or start LSP" - vim.keymap.set("n", "rl", ":LspRestart | :LspStart", opts) + vim.keymap.set({ "n", "x" }, "rl", ":LspRestart | :LspStart", opts) opts.desc = "Goto previous diagnostic" vim.keymap.set("n", "[d", vim.diagnostic.goto_prev, opts) diff --git a/zsh/config/.zshrc b/zsh/config/.zshrc index 8746044..49466f0 100755 --- a/zsh/config/.zshrc +++ b/zsh/config/.zshrc @@ -205,6 +205,7 @@ alias wget="wget --hsts-file=$XDG_DATA_HOME/wget-hsts" # set wget history locat # NOTE: This needs to stay near the bottom, or it doesn't work properly. # Use fzf in history / search contexts. source <(fzf --zsh) +source <(kubectl completion zsh) #------------------------------ local configs ------------------------------