feat(nvim): add tabclose binding
This commit is contained in:
parent
7ebdaf218b
commit
a0da45b569
@ -58,6 +58,9 @@ M.setup = function()
|
|||||||
-- Alternative bindings for increment & decrement
|
-- Alternative bindings for increment & decrement
|
||||||
vim.keymap.set("n", "+", "<C-a>", { silent = true, remap = true })
|
vim.keymap.set("n", "+", "<C-a>", { silent = true, remap = true })
|
||||||
vim.keymap.set("n", "-", "<C-x>", { silent = true, remap = true })
|
vim.keymap.set("n", "-", "<C-x>", { silent = true, remap = true })
|
||||||
|
|
||||||
|
-- Tabclose binding
|
||||||
|
vim.keymap.set("n", "<C-w>t", "<cmd>tabclose<CR>", { silent = true, desc = "Close Tab" })
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
Loading…
Reference in New Issue
Block a user