Q1: Is there a way of saving the output of the command
:map
to a file?
Q2: In a related question, I have the following map in my v
I don't know a way to save the individual :map, but :mksession filename will save a file with the current state of the editor in it, which will include all the map definitions.
:mksession filename
map