From 5a4b907f6e2d0c957f47872a277dbf126b4f6c9f Mon Sep 17 00:00:00 2001 From: Fabrice Mouhartem Date: Tue, 22 Oct 2024 14:18:43 +0200 Subject: [PATCH] feat!(lsp): change code action biding from ca to a --- lua/lsp.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/lsp.lua b/lua/lsp.lua index 0f33a7e..eb6c689 100644 --- a/lua/lsp.lua +++ b/lua/lsp.lua @@ -15,7 +15,7 @@ local on_attach = function(_, bufnr) end nmap('rn', vim.lsp.buf.rename, '[R]e[n]ame') - nmap('ca', vim.lsp.buf.code_action, '[C]ode [A]ction') + nmap('c', vim.lsp.buf.code_action, '[C]ode action') -- NOTE: to see if ca is needed nmap('gd', require('telescope.builtin').lsp_definitions, '[G]oto [D]efinition') nmap('gr', require('telescope.builtin').lsp_references, '[G]oto [R]eferences') @@ -44,8 +44,8 @@ end -- document existing key chains require('which-key').add { - { "c", group = "[C]ode" }, - { "c_", hidden = true }, + -- { "c", group = "[C]ode" }, + -- { "c_", hidden = true }, { "d", group = "[D]ocument" }, { "d_", hidden = true }, { "g", group = "[G]it" },