From b80d610cedc8d4494b6ba65d702aa7832e2621fe Mon Sep 17 00:00:00 2001 From: Robert Morrison Date: Fri, 10 Apr 2026 02:37:09 +0100 Subject: [PATCH] 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 --- lua/plugins/spec/toggleterm.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lua/plugins/spec/toggleterm.lua diff --git a/lua/plugins/spec/toggleterm.lua b/lua/plugins/spec/toggleterm.lua new file mode 100644 index 0000000..2f3ad73 --- /dev/null +++ b/lua/plugins/spec/toggleterm.lua @@ -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 = "t", + direction = "float", + }, + keys = { + { "t",desc = "toggle terminal" } + } + } +}