From 156eeef8ecae812acd79d5eb58070d734a6202c6 Mon Sep 17 00:00:00 2001 From: siduck Date: Fri, 3 May 2024 14:23:02 +0530 Subject: [PATCH] rm mapping in terminal mode #2817 it could cause other issues too, just as #2817 so removing it --- lua/nvchad/mappings.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lua/nvchad/mappings.lua b/lua/nvchad/mappings.lua index e24dee6..8730906 100644 --- a/lua/nvchad/mappings.lua +++ b/lua/nvchad/mappings.lua @@ -106,11 +106,6 @@ map({ "n", "t" }, "", function() require("nvchad.term").toggle { pos = "float", id = "floatTerm" } end, { desc = "terminal toggle floating term" }) -map("t", "", function() - local win = vim.api.nvim_get_current_win() - vim.api.nvim_win_close(win, true) -end, { desc = "terminal close term in terminal mode" }) - -- whichkey map("n", "wK", "WhichKey ", { desc = "whichkey all keymaps" })