From a3be118a6a45a08de2c0598f8144e1cfc27cf975 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 27 Oct 2023 14:52:49 -0500 Subject: [PATCH] feat(nvim): add shift-tab dedent in insert mode --- dots/.config/nvim/lua/core/mappings.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dots/.config/nvim/lua/core/mappings.lua b/dots/.config/nvim/lua/core/mappings.lua index 2f53a305..b86fcef3 100755 --- a/dots/.config/nvim/lua/core/mappings.lua +++ b/dots/.config/nvim/lua/core/mappings.lua @@ -112,6 +112,9 @@ M.setup = function() -- Binding to go to older and newer quickfix list vim.keymap.set("n", "]q", "cnewer", { silent = true, desc = "Quickfix: Newer" }) vim.keymap.set("n", "]q", "colder", { silent = true, desc = "Quickfix: Older" }) + + -- Binding to allow shift tab dedent + vim.keymap.set("i", "", "", { silent = true, desc = "Insert: Dedent" }) end return M