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

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

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

Sets a buffer-local |mapping| for the given mode. Parameters: ~ {buffer} Buffer handle, or 0 for current buffer See also: ~ |nvim_set_keymap()|

Parameters

denops: Denops
buffer: unknown
mode: unknown
lhs: unknown
rhs: unknown
opts: unknown

Returns

Promise<unknown>