mirror of
https://github.com/arkorty/Neolite.git
synced 2026-03-17 16:51:42 +00:00
17 lines
284 B
Lua
17 lines
284 B
Lua
local ok, toggleterm = pcall(require, "toggleterm")
|
|
if not ok then
|
|
return
|
|
end
|
|
|
|
toggleterm.setup({
|
|
open_mapping = [[<C-\>]],
|
|
hide_numbers = true,
|
|
start_in_insert = true,
|
|
direction = "float",
|
|
close_on_exit = true,
|
|
shell = vim.o.shell,
|
|
float_opts = {
|
|
border = "curved",
|
|
},
|
|
})
|