diff --git a/home-config/nvim/lua/lsp.lua b/home-config/nvim/lua/lsp.lua index 3f54054..df870ce 100644 --- a/home-config/nvim/lua/lsp.lua +++ b/home-config/nvim/lua/lsp.lua @@ -56,13 +56,13 @@ lsp.on_attach(function(client, bufnr) keymap("n", "gd", function() vim.lsp.buf.definition() end, opts) keymap("n", "K", function() vim.lsp.buf.hover() end, opts) - keymap("n", "vws", function() vim.lsp.buf.workspace_symbol() end, opts) - keymap("n", "vd", function() vim.diagnostic.open_float() end, opts) + keymap("n", "ls", function() vim.lsp.buf.workspace_symbol() end, opts) + keymap("n", "lf", function() vim.diagnostic.open_float() end, opts) keymap("n", "[d", function() vim.diagnostic.goto_next() end, opts) keymap("n", "]d", function() vim.diagnostic.goto_prev() end, opts) - keymap("n", "vca", function() vim.lsp.buf.code_action() end, opts) - keymap("n", "vrr", function() vim.lsp.buf.references() end, opts) - keymap("n", "vrn", function() vim.lsp.buf.rename() end, opts) + keymap("n", "la", function() vim.lsp.buf.code_action() end, opts) + keymap("n", "lr", function() vim.lsp.buf.references() end, opts) + keymap("n", "ln", function() vim.lsp.buf.rename() end, opts) keymap("i", "", function() vim.lsp.buf.signature_help() end, opts) end)