diff --git a/lua/config/keymaps.lua b/lua/config/keymaps.lua index c1ab106..d774638 100755 --- a/lua/config/keymaps.lua +++ b/lua/config/keymaps.lua @@ -13,7 +13,9 @@ vim.keymap.set("n", "q", vim.diagnostic.setqflist, { desc = "Open diagno vim.keymap.del("n", "") vim.keymap.del("n", "ft") vim.keymap.del("n", "fT") -vim.keymap.set({ "n", "v" }, "to", "term", { desc = "[T]erminal [O]pen" }) +vim.keymap.set({ "n", "v" }, "to", function() + LazyVim.terminal() +end, { desc = "[T]erminal [O]pen" }) -- Disable arrow keys in normal mode vim.keymap.set({ "n", "v" }, "", 'echo "Use h to move!!"')