Skip to main content
The Deno 2 Release Candidate is 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.4/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>