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

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

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

Gets a list of buffer-local |mapping| definitions. Parameters: ~ {mode} Mode short-name ("n", "i", "v", ...) {buffer} Buffer handle, or 0 for current buffer Return: ~ Array of maparg()-like dictionaries describing mappings. The "buffer" key holds the associated buffer handle.

Parameters

denops: Denops
buffer: unknown
mode: unknown

Returns

Promise<unknown>