diff options
author | Sidhanth Rathod <siduck@tutanota.com> | 2023-05-05 13:29:24 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-05 13:29:24 +0530 |
commit | 5ae78fb332e92447121d2af58a6313189a7799fb (patch) | |
tree | 67661fdebc856a2e8ad1bf842712678cfb5fb994 /README.md | |
parent | update install instructions as per lazy.nvim ( #41) (diff) |
Update README.mdbugfixes
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 39 |
1 files changed, 0 insertions, 39 deletions
@@ -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 |