From f8e6c59985f1d5f820f051395e88064a8d16ef2a Mon Sep 17 00:00:00 2001 From: siduck Date: Fri, 19 Apr 2024 06:57:32 +0530 Subject: [PATCH] rm size prop from term toggle funcs Doing so will make the term module take the size value from the chadrc config | check https://github.com/NvChad/ui/issues/267 --- lua/nvchad/mappings.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lua/nvchad/mappings.lua b/lua/nvchad/mappings.lua index bcdb3e3..df3e41e 100644 --- a/lua/nvchad/mappings.lua +++ b/lua/nvchad/mappings.lua @@ -86,20 +86,20 @@ map("t", "", "", { desc = "Terminal Escape terminal mode" }) -- new terminals map("n", "h", function() - require("nvchad.term").new { pos = "sp", size = 0.3 } + require("nvchad.term").new { pos = "sp" } end, { desc = "Terminal New horizontal term" }) map("n", "v", function() - require("nvchad.term").new { pos = "vsp", size = 0.3 } + require("nvchad.term").new { pos = "vsp" } end, { desc = "Terminal New vertical window" }) -- toggleable map({ "n", "t" }, "", function() - require("nvchad.term").toggle { pos = "vsp", id = "vtoggleTerm", size = 0.3 } + require("nvchad.term").toggle { pos = "vsp", id = "vtoggleTerm" } end, { desc = "Terminal Toggleable vertical term" }) map({ "n", "t" }, "", function() - require("nvchad.term").toggle { pos = "sp", id = "htoggleTerm", size = 0.3 } + require("nvchad.term").toggle { pos = "sp", id = "htoggleTerm" } end, { desc = "Terminal New horizontal term" }) map({ "n", "t" }, "", function()