return { "toggleterm.nvim", keys = { { "", function() vim.cmd("ToggleTerm direction=float") end, mode = { "n", "t", "v" }, desc = "Toggle terminal" }, { "tv", function() vim.cmd("ToggleTerm direction=vertical") end, desc = "Vertical terminal", mode = "n", }, { "tt", function() vim.cmd("ToggleTerm direction=horizontal") end, desc = "Horizontal terminal", mode = "n", }, { "ts", function() vim.cmd("TermSelect") end, desc = "Terminal select", mode = "n", }, }, after = function() require("toggleterm").setup({ shade_terminals = false, }) end, }