mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
feat(keybindings): add code action to visual mode (#4022)
* feat(keybindings): add code action to visual mode * fmt
This commit is contained in:
parent
21311d6b64
commit
b5cc0a51bd
1 changed files with 4 additions and 0 deletions
|
@ -97,6 +97,10 @@ M.config = function()
|
||||||
-- see https://neovim.io/doc/user/map.html#:map-cmd
|
-- see https://neovim.io/doc/user/map.html#:map-cmd
|
||||||
vmappings = {
|
vmappings = {
|
||||||
["/"] = { "<Plug>(comment_toggle_linewise_visual)", "Comment toggle linewise (visual)" },
|
["/"] = { "<Plug>(comment_toggle_linewise_visual)", "Comment toggle linewise (visual)" },
|
||||||
|
l = {
|
||||||
|
name = "LSP",
|
||||||
|
a = { "<cmd>lua vim.lsp.buf.code_action()<cr>", "Code Action" },
|
||||||
|
},
|
||||||
},
|
},
|
||||||
mappings = {
|
mappings = {
|
||||||
[";"] = { "<cmd>Alpha<CR>", "Dashboard" },
|
[";"] = { "<cmd>Alpha<CR>", "Dashboard" },
|
||||||
|
|
Loading…
Reference in a new issue