aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/foatterm.lua
blob: a6c64b5bc9ac4e5219dfd1f890f11f05b1b97f32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
return {
  "nvzone/floaterm",
  dependencies = "nvzone/volt",
  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",
}