dotfiles/lua/plugin/terminal.lua
neoteny f4858d42a8 Squashed 'config/nvim/' content from commit 0bd687c
git-subtree-dir: config/nvim
git-subtree-split: 0bd687c8b69605fa1c7c88222354158b1c2de2f8
2021-11-28 22:27:34 +02:00

28 lines
548 B
Lua

local M = {}
function M.setup()
require("toggleterm").setup {
size = 20,
open_mapping = [[<c-t>]],
hide_numbers = true,
shade_filetypes = {},
shade_terminals = true,
shading_factor = 2,
start_in_insert = true,
insert_mappings = true,
persist_size = false,
direction = "float",
close_on_exit = true,
shell = vim.o.shell,
float_opts = {
border = "curved",
winblend = 0,
highlights = {
border = "Normal",
background = "Normal",
},
},
}
end
return M