aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSidhanth Rathod <siduck@tutanota.com>2023-05-05 13:29:24 +0530
committerGitHub <noreply@github.com>2023-05-05 13:29:24 +0530
commit5ae78fb332e92447121d2af58a6313189a7799fb (patch)
tree67661fdebc856a2e8ad1bf842712678cfb5fb994
parentupdate install instructions as per lazy.nvim ( #41) (diff)
Update README.mdbugfixes
-rw-r--r--README.md39
1 files changed, 0 insertions, 39 deletions
diff --git a/README.md b/README.md
index 18bdae3..cd1f022 100644
--- a/README.md
+++ b/README.md
@@ -47,45 +47,6 @@ require("nvterm").setup({
})
```
-```lua
-require("nvterm").setup({
- float = {
- relative = 'editor',
- row = 0.3,
- col = 0.25,
- width = 0.5,
- height = 0.4,
- border = "single",
- },
- horizontal = { location = "rightbelow", split_ratio = .3, },
- vertical = { location = "rightbelow", split_ratio = .5 },
-})
-```
-
-is equivalent to:
-
-```lua
-require("nvterm").setup({
- terminals = {
- type_opts = {
- float = {
- relative = 'editor',
- row = 0.3,
- col = 0.25,
- width = 0.5,
- height = 0.4,
- border = "single",
- },
- horizontal = { location = "rightbelow", split_ratio = .3, },
- vertical = { location = "rightbelow", split_ratio = .5 },
- },
- },
- toggle {
- horizontal = "<A-s>",
- },
-})
-```
-
### Functions
Use the below functions to map them for keybindings