rm mapping <ESC> in terminal mode #2817
it could cause other issues too, just as #2817 so removing it
This commit is contained in:
parent
53df5e175a
commit
156eeef8ec
@ -106,11 +106,6 @@ map({ "n", "t" }, "<A-i>", function()
|
|||||||
require("nvchad.term").toggle { pos = "float", id = "floatTerm" }
|
require("nvchad.term").toggle { pos = "float", id = "floatTerm" }
|
||||||
end, { desc = "terminal toggle floating term" })
|
end, { desc = "terminal toggle floating term" })
|
||||||
|
|
||||||
map("t", "<ESC>", 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
|
-- whichkey
|
||||||
map("n", "<leader>wK", "<cmd>WhichKey <CR>", { desc = "whichkey all keymaps" })
|
map("n", "<leader>wK", "<cmd>WhichKey <CR>", { desc = "whichkey all keymaps" })
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user