From c24d7fb4683b40d85fdcc0b0b4cf6f4e28a9a524 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Thu, 16 Nov 2023 15:36:40 +0100 Subject: [PATCH] change terminal size --- hosts/nb-01.cloonar.com/modules/nvim/config/terminal.lua | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/hosts/nb-01.cloonar.com/modules/nvim/config/terminal.lua b/hosts/nb-01.cloonar.com/modules/nvim/config/terminal.lua index 979dc28..212313f 100644 --- a/hosts/nb-01.cloonar.com/modules/nvim/config/terminal.lua +++ b/hosts/nb-01.cloonar.com/modules/nvim/config/terminal.lua @@ -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 = [[]], hide_numbers = true, -- hide the number column in toggleterm buffers shade_filetypes = {},