Revert "use builtin LazyVim.terminal instead"

This reverts commit 82e70e57fe.
This commit is contained in:
Baipyrus 2024-11-02 14:14:58 +01:00
parent 1f1c3ec127
commit 677239a425

View File

@ -13,9 +13,7 @@ vim.keymap.set("n", "<leader>q", vim.diagnostic.setqflist, { desc = "Open diagno
vim.keymap.del("n", "<C-/>")
vim.keymap.del("n", "<leader>ft")
vim.keymap.del("n", "<leader>fT")
vim.keymap.set({ "n", "v" }, "<leader>to", function()
LazyVim.terminal()
end, { desc = "[T]erminal [O]pen" })
vim.keymap.set({ "n", "v" }, "<leader>to", "<cmd>term<cr>", { desc = "[T]erminal [O]pen" })
-- Disable arrow keys in normal mode
vim.keymap.set({ "n", "v" }, "<left>", '<cmd>echo "Use h to move!!"<CR>')