return { 'voldikss/vim-floaterm', -- Awesome Floating Terminal config = function() local map = vim.api.nvim_set_keymap -- map('n', 'nt', ':FloatermNew --name=guake --height=0.5 --width=0.5 --autoclose=2 zsh ', {silent = true}) map('n', 't', ':FloatermToggle guake', {silent = true}) -- Remap terminal mode to quickly close the terminal and allow entering normal mode in the terminal map('t', 't', ':q', {silent = true}) map('t', '', '', {silent = true}) end }