patch 8.2.4820: not simple programmatic way to find a specific mapping

Problem:    Not simple programmatic way to find a specific mapping.
Solution:   Add getmappings(). (Ernie Rael, closes #10273)
This commit is contained in:
Ernie Rael
2022-04-24 18:40:28 +01:00
committed by Bram Moolenaar
parent a4e3332650
commit 659c240cf7
7 changed files with 182 additions and 29 deletions

View File

@ -1089,6 +1089,7 @@ Mappings and Menus: *mapping-functions*
digraph_getlist() get all |digraph|s
digraph_set() register |digraph|
digraph_setlist() register multiple |digraph|s
getmappings() get list of all mappings
hasmapto() check if a mapping exists
mapcheck() check if a matching mapping exists
maparg() get rhs of a mapping