From 766a88ad146aea731417c2c42c2bfb14fee028a1 Mon Sep 17 00:00:00 2001 From: chibs4 <47668526+chibs4@users.noreply.github.com> Date: Thu, 3 Oct 2024 14:15:57 +0300 Subject: [PATCH] Update toggleterm.lua --- lua/custom/plugins/toggleterm.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lua/custom/plugins/toggleterm.lua b/lua/custom/plugins/toggleterm.lua index 779fb577..87f9398c 100644 --- a/lua/custom/plugins/toggleterm.lua +++ b/lua/custom/plugins/toggleterm.lua @@ -1,7 +1,10 @@ return { 'akinsho/toggleterm.nvim', version = "*", - config=true, - keys = { {'t', ":ToggleTerm size=15"},} + config = true, + keys = { + { 't', ":ToggleTerm size=15" }, + { 't', mode = { "t" }, "ToggleTerm size=15" }, + { '', mode = { "t" }, [[]] } + } } -