Keymap : how to add new key bindings?

Hi, After a look in the forum, it seems I am the first one who tries to use Keymaps :smile:

I undestrand I have to create a keymap like this, but how do you precise the command you want to use for that key binding ?

Keymap = require("browserkeymap")
myMap  = new Keymap({"Ctrl-M": <? command ?>  })

Best !

Use the name of the command, from, for example, the base commands, or your own custom command.