From a347d53ab8eeecbdf250ef3c5225f93d9a55bdeb Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sun, 22 Oct 2023 02:28:36 -0500 Subject: [PATCH] refactor(nvim): make C-Tab insert alt tab --- dots/.config/nvim/lua/core/mappings.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dots/.config/nvim/lua/core/mappings.lua b/dots/.config/nvim/lua/core/mappings.lua index 6ebc0b51..2f53a305 100755 --- a/dots/.config/nvim/lua/core/mappings.lua +++ b/dots/.config/nvim/lua/core/mappings.lua @@ -94,7 +94,7 @@ M.setup = function() vim.keymap.set("n", "", ":bnext", { silent = true, desc = "Go to Next Buffer" }) -- Binding to insert literal tab - vim.keymap.set("i", "", function() + vim.keymap.set("i", "", function() if vim.opt_local.expandtab:get() then vim.api.nvim_feedkeys(vim.api.nvim_replace_termcodes("", true, false, true), "m", true) else