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

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

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

Replaces terminal codes and |keycodes| (, , ...) in a string with the internal representation. Parameters: ~ {str} String to be converted. {from_part} Legacy Vim parameter. Usually true. {do_lt} Also translate . Ignored if special is false. {special} Replace |keycodes|, e.g. becomes a "\r" char. See also: ~ replace_termcodes cpoptions

Parameters

denops: Denops
str: unknown
from_part: unknown
do_lt: unknown
special: unknown

Returns

Promise<unknown>