ctrl + k does not work while the HedgeDoc editor is focused. It does work when other parts of HedgeDoc are in focus.
In the HedgeDoc iframe the editor (CodeMirror) can be accessed using the editor variable. Maybe there is an API to add and/or modify custom keybindings there?