Now have 3 separate terms, window, vert & hori, renamed some variables (#251)
This commit is contained in:
parent
c80d79a7cc
commit
e80a6935d6
3 changed files with 24 additions and 9 deletions
|
@ -31,3 +31,17 @@ toggleterm.setup {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
local Terminal = require("toggleterm.terminal").Terminal
|
||||
|
||||
_G.termW = Terminal:new {
|
||||
direction = "window",
|
||||
}
|
||||
|
||||
_G.termV = Terminal:new {
|
||||
direction = "vertical",
|
||||
}
|
||||
|
||||
_G.termH = Terminal:new {
|
||||
direction = "horizontal",
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue