From b5cc0a51bd23f0f09d662d7b1bbd9bbac344c571 Mon Sep 17 00:00:00 2001 From: sigmaSd Date: Wed, 12 Apr 2023 07:23:35 +0100 Subject: feat(keybindings): add code action to visual mode (#4022) * feat(keybindings): add code action to visual mode * fmt --- lua/lvim/core/which-key.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/lvim/core/which-key.lua b/lua/lvim/core/which-key.lua index c51c5cd8..2ab47b05 100644 --- a/lua/lvim/core/which-key.lua +++ b/lua/lvim/core/which-key.lua @@ -97,6 +97,10 @@ M.config = function() -- see https://neovim.io/doc/user/map.html#:map-cmd vmappings = { ["/"] = { "(comment_toggle_linewise_visual)", "Comment toggle linewise (visual)" }, + l = { + name = "LSP", + a = { "lua vim.lsp.buf.code_action()", "Code Action" }, + }, }, mappings = { [";"] = { "Alpha", "Dashboard" }, -- cgit v1.2.3