feat(utils): added ability to have floating or split windows and anchors of where each are

fix(ui): also changed deprecated features to use newer features by
neovim
This commit is contained in:
DarthMooMancer
2025-05-17 18:33:55 -04:00
parent eea8def35c
commit e6c3353b51
5 changed files with 93 additions and 51 deletions
+21 -4
View File
@@ -114,14 +114,31 @@ cpp = {
["<leader>pr"] = "CppRun",
}
}
```
## **Terminal Configuration**
```lua
-- In Neovim 0.11+, numbers don't work so they will be reimplemented later
terminal = {
preset = nil, -- also try : ("right", "corner")
border = true
-- floating or split
mode = "split",
win = {
-- type: "vertical" or "horizonal" -- Only for split windows
-- anchor: "bottom" or "right" or "center" or "corner"
-- "bottom" and "right" are only split anchors
-- "center" and "corner" are only floating anchors
type = "vertical", anchor = "right"
},
border = {
enabled = true,
-- type: border decoration, follows `winborder`
-- "bold": Bold line box.
-- "double": Double-line box.
-- "none": No border.
-- "rounded": Like "single", but with rounded corners ("╭" etc.).
-- "shadow": Drop shadow effect, by blending with the background.
-- "single": Single-line box.
-- "solid": Adds padding by a single whitespace cell.
type = "rounded"
}
}
```