Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

btv.terminal

btv.terminal.open(opts)

btv.terminal.open([opts]) -> nil. Open a terminal job programmatically — the API twin of :terminal. opts.cmd is a string (whitespace-split into argv, no shell) or a list (argv verbatim, so an argument may contain spaces); omitted runs the default shell. opts.cwd defaults to the editor’s working directory.

Defined in btv.lua.