change terminal size
This commit is contained in:
parent
f92a108579
commit
c24d7fb468
1 changed files with 1 additions and 7 deletions
|
|
@ -2,13 +2,7 @@ local config = {
|
|||
active = true,
|
||||
on_config_done = nil,
|
||||
-- size can be a number or function which is passed the current terminal
|
||||
size = 20 | function(term)
|
||||
if term.direction == "horizontal" then
|
||||
return 15
|
||||
elseif term.direction == "vertical" then
|
||||
return vim.o.columns * 0.4
|
||||
end
|
||||
end,
|
||||
size = 60,
|
||||
open_mapping = [[<c-t>]],
|
||||
hide_numbers = true, -- hide the number column in toggleterm buffers
|
||||
shade_filetypes = {},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue