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

x/denops_std/function/vim/mod.ts>term_sendkeys

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

Send keystrokes {keys} to terminal {buf}. {buf} is used as with term_getsize().

{keys} are translated as key sequences. For example, "\<c-x>" means the character CTRL-X.

Can also be used as a method:

GetBufnr()->term_sendkeys(keys)

Parameters

denops: Denops
buf: unknown
keys: unknown

Returns

Promise<unknown>