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:
parent
a886c6392e
commit
b80d610ced
18
lua/plugins/spec/toggleterm.lua
Normal file
18
lua/plugins/spec/toggleterm.lua
Normal 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" }
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user