diff --git a/lua/astrocommunity/terminal-integration/toggleterm-manager-nvim/init.lua b/lua/astrocommunity/terminal-integration/toggleterm-manager-nvim/init.lua index c84ccff25..90c0b051e 100644 --- a/lua/astrocommunity/terminal-integration/toggleterm-manager-nvim/init.lua +++ b/lua/astrocommunity/terminal-integration/toggleterm-manager-nvim/init.lua @@ -32,6 +32,12 @@ return { ["d"] = { action = actions.delete_term, exit_on_action = false }, -- deletes a terminal buffer ["n"] = { action = actions.create_term, exit_on_action = false }, -- creates a new terminal buffer }, + i = { + [""] = { action = actions.toggle_term, exit_on_action = true }, -- toggles terminal open/closed + [""] = { action = actions.rename_term, exit_on_action = false }, -- provides a prompt to rename a terminal + [""] = { action = actions.delete_term, exit_on_action = false }, -- deletes a terminal buffer + [""] = { action = actions.create_term, exit_on_action = false }, -- creates a new terminal buffer + }, }, }) end,