2022-05-15 16:42:11 +02:00
|
|
|
local nterm = require "neoterm"
|
|
|
|
|
|
|
|
nterm.setup {
|
|
|
|
clear_on_run = true,
|
|
|
|
mode = "vertical",
|
|
|
|
noinsert = true,
|
|
|
|
}
|
2022-06-14 14:46:41 +02:00
|
|
|
|
|
|
|
vim.api.nvim_create_autocmd("User", {
|
|
|
|
pattern = "NeotermTermLeave",
|
|
|
|
callback = nterm.close,
|
|
|
|
})
|