From 8c68e534d1ed97dce00f729547cafa28bff77ce8 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 24 Feb 2024 15:43:55 -0600 Subject: [PATCH] feat(nvim): make tab toggle folds in normal 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 5e2fbafe..3131ea50 100755 --- a/dots/.config/nvim/lua/core/mappings.lua +++ b/dots/.config/nvim/lua/core/mappings.lua @@ -114,6 +114,9 @@ M.setup = function() -- Insert an Em Dash in insert mode vim.keymap.set("i", "", "—", { silent = true, desc = "Insert: Em Dash" }) + + -- Keymap to toggle folds easier + vim.keymap.set("n", "", "za", { silent = true, desc = "Toggle Fold" }) end return M