Add actions-preview to <leader>gf to show telescope preview of code action changes

This commit is contained in:
salomaestro
2025-02-22 01:24:07 +01:00
parent f89e212da7
commit 07cf759d98
2 changed files with 27 additions and 4 deletions

View File

@@ -10,9 +10,9 @@ local diag = vim.diagnostic
map("n", ";", ":", { desc = "CMD enter command mode" })
map("i", "jk", "<ESC>")
map("n", "<leader>ca", function()
vim.lsp.buf.code_action()
end, { desc = "LSP code action" })
map("n", "j", "gj", { desc = "Move down" })
map("n", "k", "gk", { desc = "Move up" })
map("n", "<leader>tt", function()
require("base46").toggle_transparency()
end, { desc = "Toggle transparency" })