Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/nvim/mod.ts>termopen

๐Ÿ“š Standard module for denops.vim
Go to Latest
function termopen
import { termopen } from "https://deno.land/x/denops_std@v4.1.4/function/nvim/mod.ts";

Spawns {cmd} in a new pseudo-terminal session connected to the current (unmodified) buffer. Parameters and behavior are the same as |jobstart()| except "pty", "width", "height", and "TERM" are ignored: "height" and "width" are taken from the current window. Returns the same values as |jobstart()|. Terminal environment is initialized as in ||jobstart-env|, except $TERM is set to "xterm-256color". Full behavior is described in |terminal|.

Parameters

denops: Denops
cmd: unknown
optional
opts: unknown

Returns

Promise<unknown>