2022-06-14 14:06:27 +02:00
|
|
|
require "base46.term"
|
|
|
|
|
2022-04-27 17:42:28 +02:00
|
|
|
local options = {
|
2022-07-22 18:00:00 +02:00
|
|
|
terminals = {
|
|
|
|
list = {},
|
|
|
|
type_opts = {
|
|
|
|
float = {
|
|
|
|
relative = "editor",
|
|
|
|
row = 0.3,
|
|
|
|
col = 0.25,
|
|
|
|
width = 0.5,
|
|
|
|
height = 0.4,
|
|
|
|
border = "single",
|
2022-04-27 17:42:28 +02:00
|
|
|
},
|
2022-07-22 18:00:00 +02:00
|
|
|
horizontal = { location = "rightbelow", split_ratio = 0.3 },
|
|
|
|
vertical = { location = "rightbelow", split_ratio = 0.5 },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
behavior = {
|
|
|
|
close_on_exit = true,
|
|
|
|
auto_insert = true,
|
|
|
|
},
|
|
|
|
enable_new_mappings = true,
|
2022-04-27 17:42:28 +02:00
|
|
|
}
|
|
|
|
|
2022-05-29 12:37:47 +02:00
|
|
|
options = require("core.utils").load_override(options, "NvChad/nvterm")
|
2023-01-25 15:41:55 +01:00
|
|
|
require("nvterm").setup(options)
|