Floating terminal not centered after changing the size of it?
GreenSleeper opened this issue · comments
GreenSleeper commented
I changed the size of floating terminal like this:
{
"NvChad/nvterm",
opts = {
terminals = {
type_opts = {
float = {
width = 0.7,
height = 0.8,
border = "double",
},
},
},
},
},
and the floating terminal isn't centered anymore.
How can I make it centered.
And what does the relative
field mean in the default configuration?
GreenSleeper commented
So, row
and col
can adjust the position.
Still confused about the relative
field.