Term not floating anymore

This commit is contained in:
Eduardo Cueto-Mendoza 2023-09-06 13:44:37 +01:00
parent dac98dcd90
commit 3e5a3ceff7
1 changed files with 1 additions and 1 deletions

View File

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