summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/plugin/toggleterm.lua
blob: 961db8797aa0e66e10720f001301b000f7ad5b85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require("toggleterm").setup({
	size = 22,
	open_mapping = [[<f1>]],
	hide_numbers = true,
	shade_filetypes = {},
	shade_terminals = true,
	shading_factor = 2,
	start_in_insert = true,
	insert_mappings = true,
	persist_size = true,
	direction = "float",
	close_on_exit = true,
	shell = vim.o.shell,
	float_opts = {
		border = "curved",
		winblend = 0,
		highlights = {
			border = "Normal",
			background = "Normal",
		},
	},
})