add keymapping for code actions and buffer delete (:bd)
This commit is contained in:
parent
c0e15e1141
commit
c99606d4ee
1 changed files with 5 additions and 0 deletions
|
@ -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_next()<CR>")
|
||||||
vim.keymap.set("n", '[d', "<cmd>lua vim.diagnostic.goto_prev()<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>")
|
||||||
|
|
Loading…
Reference in a new issue