chore: toggleterm unset mapping, default direction horizontal

This commit is contained in:
fiplox 2023-03-21 07:17:47 +01:00
parent e14dc11c05
commit f0cbe5e4c3
1 changed files with 2 additions and 2 deletions

View File

@ -16,14 +16,14 @@ function M.config()
end end
end, end,
shade_filetypes = { 'none', 'fzf' }, shade_filetypes = { 'none', 'fzf' },
open_mapping = [[<home>]], -- open_mapping = [[<home>]],
hide_numbers = true, -- hide the number column in toggleterm buffers hide_numbers = true, -- hide the number column in toggleterm buffers
shade_terminals = true, shade_terminals = true,
shading_factor = '2', -- the degree by which to darken to terminal colour, default: 1 for dark backgrounds, 3 for light shading_factor = '2', -- the degree by which to darken to terminal colour, default: 1 for dark backgrounds, 3 for light
start_in_insert = true, start_in_insert = true,
insert_mappings = true, -- whether or not the open mapping applies in insert mode insert_mappings = true, -- whether or not the open mapping applies in insert mode
persist_size = true, 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 close_on_exit = true, -- close the terminal window when the process exits
shell = vim.o.shell, -- change the default shell shell = vim.o.shell, -- change the default shell
-- This field is only relevant if direction is set to 'float' -- This field is only relevant if direction is set to 'float'