Floating terminal is better
This commit is contained in:
parent
6ceff0cde7
commit
13e1cd6804
|
@ -258,7 +258,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.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",
|
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",
|
||||||
|
|
Loading…
Reference in New Issue