add keymapping for code actions and buffer delete (:bd)

This commit is contained in:
Vladan Popovic 2024-09-17 16:37:35 +02:00
parent c0e15e1141
commit c99606d4ee

View file

@ -14,3 +14,8 @@ vim.keymap.set("n", "<leader>fe", "<cmd>Oil<CR>")
vim.keymap.set("n", ']d', "<cmd>lua vim.diagnostic.goto_next()<CR>")
vim.keymap.set("n", '[d', "<cmd>lua vim.diagnostic.goto_prev()<CR>")
vim.keymap.set("n", "<space>aa", require("actions-preview").code_actions)
-- Close all buffers
vim.keymap.set("n", '<C-S-x>', "<cmd>bufdo bd<CR>")