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
19 lines
348 B
Lua
19 lines
348 B
Lua
---@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" }
|
|
}
|
|
}
|
|
}
|