remove toggle term

This commit is contained in:
2024-01-02 20:35:26 -05:00
parent 629d780aaa
commit e669b3eb8e
2 changed files with 0 additions and 32 deletions

View File

@ -1,31 +0,0 @@
local status_ok, toggleterm = pcall(require, "toggleterm")
if not status_ok then
return
end
toggleterm.setup {
shade_terminals = true,
float_opts = {
border = 'shadow',
},
on_open = function()
vim.opt.cmdheight = 0
end,
on_close = function()
vim.opt.cmdheight = 1
end
}
local term = require('toggleterm.terminal').Terminal
local glow = term:new({
cmd = "glow",
hidden = true,
direction = "float",
float_opts = {
border = "shadow",
width = 120,
height = 50,
}
})
function _glow() glow:toggle() end