I know that if I do:
:inoremap <expr> . InsertDot()
the result of InsertDot()
will be inserted as {rhs}
of the mapping.
I need to do the same but with the {lhs}
, in order to be able to define some dynamic mappings that will take as key sequence what is defined in a var.
Is it possible? If so, how?
Thanks!