aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins')
-rw-r--r--lua/plugins/foatterm.lua18
-rw-r--r--lua/plugins/noice.lua1
2 files changed, 18 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",
}
diff --git a/lua/plugins/noice.lua b/lua/plugins/noice.lua
index 314db31..033db3c 100644
--- a/lua/plugins/noice.lua
+++ b/lua/plugins/noice.lua
@@ -4,6 +4,7 @@ return {
"MunifTanjim/nui.nvim",
},
event = "VeryLazy",
+ enabled = not vim.g.started_by_firenvim,
opts = {
cmdline = {
enabled = true, -- enables the Noice cmdline UI