diff options
-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 |