From 63ca93f694881fdb6dc96a4bcbed526d84ad1b74 Mon Sep 17 00:00:00 2001 From: Casey Grzecka Date: Thu, 21 Sep 2023 13:16:31 -0700 Subject: [PATCH] adds useage section to docs --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 12e42e8..75dd2c3 100644 --- a/README.md +++ b/README.md @@ -110,3 +110,10 @@ end `terminal.send` also takes a 'type' parameter, so you can choose what type of terminal to send the command to. By default, it runs the command in the last opened terminal, or a vertical one if none exist. `terminal.send(ft_cmds[vim.bo.filetype], "float")` will run the command in a floating terminal + +## Usage + +### Toggle Terminal + +Closing the terminal buffer with ` + x` _(often after using `Ctrl+x` to get into "NTERMINAL" mode)_. Then to bring the terminal back, use: ` + pt` +