diff --git a/lua/custom/floating-terminal.lua b/lua/custom/floating-terminal.lua index 53bd004b..ac4990f1 100644 --- a/lua/custom/floating-terminal.lua +++ b/lua/custom/floating-terminal.lua @@ -69,6 +69,6 @@ end -- Custom command for opening and closing floating terminal vim.api.nvim_create_user_command('FloatingTerminal', M.toggle_terminal, {}) -vim.keymap.set({ 'n', 't' }, 'tt', M.toggle_terminal) +vim.keymap.set({ 'n' }, 'tt', M.toggle_terminal) return M