feat(nvim): set binding <Tab> to toggle folds
This commit is contained in:
parent
a3be118a6a
commit
cfadaecd9b
@ -115,6 +115,9 @@ M.setup = function()
|
||||
|
||||
-- Binding to allow shift tab dedent
|
||||
vim.keymap.set("i", "<S-Tab>", "<C-d>", { silent = true, desc = "Insert: Dedent" })
|
||||
|
||||
-- Binding to make tab toggle fold
|
||||
vim.keymap.set("n", "<Tab>", "za", { silent = true, desc = "Fold: Toggle" })
|
||||
end
|
||||
|
||||
return M
|
||||
|
Loading…
Reference in New Issue
Block a user