mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +00:00
test: more tests for nvim_{set,del}_keymap with abbreviation (#23970)
This commit is contained in:
@@ -1487,7 +1487,7 @@ nvim_set_keymap({mode}, {lhs}, {rhs}, {*opts}) *nvim_set_keymap()*
|
||||
Parameters: ~
|
||||
• {mode} Mode short-name (map command prefix: "n", "i", "v", "x", …) or
|
||||
"!" for |:map!|, or empty string for |:map|. "ia", "ca" or
|
||||
"!a" for abbreviation in insert mode, cmdline mode, or both,
|
||||
"!a" for abbreviation in Insert mode, Cmdline mode, or both,
|
||||
respectively
|
||||
• {lhs} Left-hand-side |{lhs}| of the mapping.
|
||||
• {rhs} Right-hand-side |{rhs}| of the mapping.
|
||||
|
@@ -82,7 +82,7 @@ The following new APIs or features were added.
|
||||
|
||||
• |vim.system()| for running system commands.
|
||||
|
||||
• |nvim_set_keymap()| now supports abbreviations.
|
||||
• |nvim_set_keymap()| and |nvim_del_keymap()| now support abbreviations.
|
||||
|
||||
==============================================================================
|
||||
CHANGED FEATURES *news-changed*
|
||||
|
Reference in New Issue
Block a user