nvim_runtime_lua

vim.keymap.set.Opts

Table of |:map-arguments|. Same as |nvimsetkeymap()| {opts}, except:

  • {replace_keycodes} defaults to true if "expr" is true.
  • {noremap} is not supported; use {remap} instead (see below).

Also accepts:

@inlinedoc

Fields2

Opts.buf : nil | integer

Creates buffer-local mapping, 0 for current buffer.

Opts.remap : nil | boolean

Make the mapping recursive. Inverse of {noremap}. (Default: false)