default_opts

Function default_opts 

Source
pub fn default_opts() -> SetKeymapOpts
Expand description

Build the default [SetKeymapOpts]: silent + non-recursive.

Unlike Lua’s vim.keymap.set, the default for [SetKeymapOpts] does not enable noremap so we do it explicitly.