Skip to main content
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@v6.4.0/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>