diff --git a/lua/custom/plugins/init.lua b/lua/custom/plugins/init.lua index f64070be..e7f76741 100644 --- a/lua/custom/plugins/init.lua +++ b/lua/custom/plugins/init.lua @@ -78,26 +78,6 @@ return { }, }, - -- Toggleterm: multiple terminals - { 'akinsho/toggleterm.nvim', - version = "*", - config = function() - require("toggleterm").setup { - insert_mappings = true, -- whether or not the open mapping applies in insert mode - size = 10, - open_mapping = [[]], - shading_factor = 2, - direction = "float", - float_opts = { - border = "curved", - highlights = { - border = "Normal", - background = "Normal", - }, - }, - } - end, - }, -- Markdown preview (attempt) { diff --git a/lua/custom/plugins/terminal.lua b/lua/custom/plugins/terminal.lua index 2e556edb..23227dbc 100644 --- a/lua/custom/plugins/terminal.lua +++ b/lua/custom/plugins/terminal.lua @@ -13,8 +13,8 @@ return { terminal_mappings = true, -- whether or not the open mapping applies in the opened terminals persist_size = true, persist_mode = true, -- if set to true (default) the previous terminal mode will be remembered - direction = 'horizontal', - close_on_exit = true, -- close the terminal window when the process exits + direction = 'tab', + close_on_exit = false, -- close the terminal window when the process exits shell = vim.o.shell, -- change the default shell auto_scroll = true, -- automatically scroll to the bottom on terminal output open_mapping = [[]],