From 677239a425f2d5ea46b810d78541034f94b219b7 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Sat, 2 Nov 2024 14:14:58 +0100 Subject: [PATCH] Revert "use builtin LazyVim.terminal instead" This reverts commit 82e70e57fee5832b7ee2a8d8af05916d9e79fe44. --- lua/config/keymaps.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lua/config/keymaps.lua b/lua/config/keymaps.lua index d774638..c1ab106 100755 --- a/lua/config/keymaps.lua +++ b/lua/config/keymaps.lua @@ -13,9 +13,7 @@ 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", function() - LazyVim.terminal() -end, { desc = "[T]erminal [O]pen" }) +vim.keymap.set({ "n", "v" }, "to", "term", { desc = "[T]erminal [O]pen" }) -- Disable arrow keys in normal mode vim.keymap.set({ "n", "v" }, "", 'echo "Use h to move!!"')