mirror of
https://github.com/DefectingCat/nvim
synced 2025-07-15 16:51:33 +00:00
21 lines
465 B
Lua
21 lines
465 B
Lua
return {
|
|
{
|
|
"akinsho/toggleterm.nvim",
|
|
version = "*",
|
|
opts = {},
|
|
config = function()
|
|
local Terminal = require("toggleterm.terminal").Terminal
|
|
local float = Terminal:new({
|
|
direction = "float",
|
|
float_opts = {
|
|
border = "curved",
|
|
},
|
|
})
|
|
vim.keymap.set({ "n", "t" }, "<A-i>", function()
|
|
float:toggle()
|
|
end, { noremap = true, silent = true })
|
|
end,
|
|
keys = { "<A-i>" },
|
|
},
|
|
}
|