dotfiles/.config/nvim/lua/pluginconf/nterm.lua

12 lines
218 B
Lua

local nterm = require "neoterm"
nterm.setup {
clear_on_run = true,
mode = "vertical",
noinsert = true,
}
vim.api.nvim_create_autocmd("User", {
pattern = "NeotermTermLeave",
callback = nterm.close,
})