blob: 4f5f5985529c33e3fc31d719243fd308b9aa44f5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
require('toggleterm').setup {
shade_terminals = true,
}
local Terminal = require('toggleterm.terminal').Terminal
local glow = Terminal:new({
cmd = "glow",
hidden = true,
direction = "float",
float_opts = {
border = "shadow",
width = 120,
height = 50,
}
})
function _glow()
glow:toggle()
end
|