Floating terminal is better

This commit is contained in:
Eduardo Cueto-Mendoza 2023-09-07 12:53:38 +01:00
parent 6ceff0cde7
commit 13e1cd6804
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ local plugins = {
'voldikss/vim-floaterm',
config = function()
vim.keymap.set("n", "<leader>ft",
"<cmd>:FloatermNew --height=0.3 --width=0.8 --wintype=split --name=floaterm1 --position=center --autoclose=2<CR>", { desc = "Open FloatTerm" })
"<cmd>:FloatermNew --height=0.3 --width=0.8 --wintype=float --name=floaterm1 --position=center --autoclose=2<CR>", { desc = "Open FloatTerm" })
vim.keymap.set("n", "<leader>flt",
"<cmd>:FloatermToggle<CR>", { desc = "Toggle FloatTerm" })
vim.keymap.set("t", "<leader>flt",