From 4b720464ff92a7ef6d3ae0bcdfe97ba89e5f9699 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Wed, 10 Dec 2025 09:32:14 +0100 Subject: [PATCH] nvim: Add floating terminal toggle mapping Follows logic of other toggle maps for neovim, i.e. tt for buffer-term and tT for floating term. --- nvim/.config/nvim/lua/modules/terminal.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nvim/.config/nvim/lua/modules/terminal.lua b/nvim/.config/nvim/lua/modules/terminal.lua index 54f5726..1f1dac2 100644 --- a/nvim/.config/nvim/lua/modules/terminal.lua +++ b/nvim/.config/nvim/lua/modules/terminal.lua @@ -72,7 +72,8 @@ return { -- simple programmable terminal toggling for nvim end, cmd = { "ToggleTerm", "TermExec", "Lazygit", "Pythonterm", "Euporieterm" }, keys = { - { "tt", ":ToggleTerm", desc = "terminal" }, + { "tt", ":ToggleTerm", desc = "terminal buffer" }, + { "tT", ":ToggleTerm direction='float'", desc = "terminal floating" }, { "tg", ":Lazygit", desc = "git floating" }, { "tG", ":Lazygit!", desc = "git buffer" }, { "tp", ":Pythonterm", desc = "python floating" },