feat(toggleterm): add toggleterm

I use a terminal a lot while editing, and the less time I spend leaving
my editor the better, especially when it's for something quick
This commit is contained in:
Robert Morrison 2026-04-10 02:37:09 +01:00
parent a886c6392e
commit b80d610ced

View File

@ -0,0 +1,18 @@
---@module "lazy.nvim"
---@type LazySpec[]
return {
{
"akinsho/toggleterm.nvim",
version = "*",
---@module "toggleterm.config"
---@type ToggleTermConfig
---@diagnostic disable-next-line: missing-fields
opts = {
open_mapping = "<leader>t",
direction = "float",
},
keys = {
{ "<leader>t",desc = "toggle terminal" }
}
}
}