aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/foatterm.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/foatterm.lua')
-rw-r--r--lua/plugins/foatterm.lua18
1 files changed, 17 insertions, 1 deletions
diff --git a/lua/plugins/foatterm.lua b/lua/plugins/foatterm.lua
index 708241a..a6c64b5 100644
--- a/lua/plugins/foatterm.lua
+++ b/lua/plugins/foatterm.lua
@@ -1,6 +1,22 @@
return {
"nvzone/floaterm",
dependencies = "nvzone/volt",
- opts = {},
+ opts = {
+ border = false,
+ size = { h = 40, w = 70 },
+ -- to use, make this func(buf)
+ position = { row = 50, col = 35 },
+ show_sidebar = false, -- oculta el sidebar
+ show_bar = false, -- oculta la barra
+ mappings = { sidebar = nil, term = nil },
+
+ -- Default sets of terminals you'd like to open
+ terminals = {
+ { name = "Terminal" },
+ -- cmd can be function too
+ -- { name = "Terminal", cmd = "neofetch" },
+ -- More terminals
+ },
+ },
cmd = "FloatermToggle",
}