rm useless term option

This commit is contained in:
siduck 2024-03-08 19:46:31 +05:30
parent 634f6d55de
commit 2cf989cf31
2 changed files with 7 additions and 10 deletions

View File

@ -84,20 +84,22 @@ map(
-- terminal
map("t", "<C-x>", "<C-\\><C-N>", { desc = "Terminal Escape terminal mode" })
-- new terminals
map("n", "<leader>h", function()
require("nvchad.term").new { pos = "sp", size = 0.3 }
end, { desc = "Terminal New horizontal term" })
map("n", "<leader>v", function()
require("nvchad.term").new { pos = "vsp", size = 0.3 }
end, { desc = "Terminal New vertical term" })
end, { desc = "Terminal New vertical window" })
-- toggleable
map({ "n", "t" }, "<A-v>", function()
require("nvchad.term").toggle { pos = "vsp", id = "vtoggleTerm", size = 0.3 }
end, { desc = "Terminal Toggleable vertical term" })
map({ "n", "t" }, "<A-h>", function()
require("nvchad.term").toggle { pos = "sp", id = "htoggleTerm", size = 0.2 }
require("nvchad.term").toggle { pos = "sp", id = "htoggleTerm", size = 0.3 }
end, { desc = "Terminal New horizontal term" })
map({ "n", "t" }, "<A-i>", function()

View File

@ -25,14 +25,14 @@ M.ui = {
-- default/round/block/arrow separators work only for default statusline theme
-- round and block will work for minimal theme only
separator_style = "default",
order=nil,
order = nil,
},
-- lazyload it when there are 1+ buffers
tabufline = {
enabled = true,
lazyload = true,
order= {'treeOffset', 'buffers' , 'tabs', 'btns'},
order = { "treeOffset", "buffers", "tabs", "btns" },
modules = nil,
},
@ -80,9 +80,6 @@ M.ui = {
height = 0.4,
border = "single",
},
behavior = {
auto_insert = true,
},
},
}
@ -108,6 +105,4 @@ M.base46 = {
},
}
M = vim.tbl_deep_extend("force", M, require('chadrc'))
return M
return vim.tbl_deep_extend("force", M, require('chadrc'))