feat(nvim): add shift-tab dedent in insert mode
This commit is contained in:
parent
e42385b45f
commit
a3be118a6a
@ -112,6 +112,9 @@ M.setup = function()
|
|||||||
-- Binding to go to older and newer quickfix list
|
-- Binding to go to older and newer quickfix list
|
||||||
vim.keymap.set("n", "]q", "<cmd>cnewer<CR>", { silent = true, desc = "Quickfix: Newer" })
|
vim.keymap.set("n", "]q", "<cmd>cnewer<CR>", { silent = true, desc = "Quickfix: Newer" })
|
||||||
vim.keymap.set("n", "]q", "<cmd>colder<CR>", { silent = true, desc = "Quickfix: Older" })
|
vim.keymap.set("n", "]q", "<cmd>colder<CR>", { silent = true, desc = "Quickfix: Older" })
|
||||||
|
|
||||||
|
-- Binding to allow shift tab dedent
|
||||||
|
vim.keymap.set("i", "<S-Tab>", "<C-d>", { silent = true, desc = "Insert: Dedent" })
|
||||||
end
|
end
|
||||||
|
|
||||||
return M
|
return M
|
||||||
|
Loading…
Reference in New Issue
Block a user