From 5ae78fb332e92447121d2af58a6313189a7799fb Mon Sep 17 00:00:00 2001 From: Sidhanth Rathod Date: Fri, 5 May 2023 13:29:24 +0530 Subject: Update README.md --- README.md | 39 --------------------------------------- 1 file changed, 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 = "", - }, -}) -``` - ### Functions Use the below functions to map them for keybindings -- cgit v1.2.3-70-g09d2