From f0cbe5e4c3690bef668eaf00d6729c23a3fb512e Mon Sep 17 00:00:00 2001 From: fiplox Date: Tue, 21 Mar 2023 07:17:47 +0100 Subject: [PATCH] chore: toggleterm unset mapping, default direction horizontal --- lua/plugins/toggleterm.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plugins/toggleterm.lua b/lua/plugins/toggleterm.lua index 3a03035..00b6446 100644 --- a/lua/plugins/toggleterm.lua +++ b/lua/plugins/toggleterm.lua @@ -16,14 +16,14 @@ function M.config() end end, shade_filetypes = { 'none', 'fzf' }, - open_mapping = [[]], + -- open_mapping = [[]], hide_numbers = true, -- hide the number column in toggleterm buffers shade_terminals = true, shading_factor = '2', -- the degree by which to darken to terminal colour, default: 1 for dark backgrounds, 3 for light start_in_insert = true, insert_mappings = true, -- whether or not the open mapping applies in insert mode persist_size = true, - direction = 'float', -- 'vertical' | 'horizontal' | 'window' | 'float', + direction = 'horizontal', -- 'vertical' | 'horizontal' | 'window' | 'float', close_on_exit = true, -- close the terminal window when the process exits shell = vim.o.shell, -- change the default shell -- This field is only relevant if direction is set to 'float'