Skip to main content
Module

x/denops_std/function/mod.ts>keytrans

📚 Standard module for denops.vim
Go to Latest
function keytrans
import { keytrans } from "https://deno.land/x/denops_std@v4.1.4/function/mod.ts";

Turn the internal byte representation of keys into a form that can be used for |:map|. E.g. :let xx = "<C-Home>" :echo keytrans(xx) <C-Home Can also be used as a |method|: "<C-Home>"->keytrans()

Parameters

denops: Denops
string: unknown

Returns

Promise<unknown>