In reply to Izabella Peszek.

Hi Izabella, this would be a combo of these actions I think:
- Extend selection to start of document (Ctrl+Shift+Home by default)
- Submit selected (F3)

Unfortunately, I don't think the Submit Selected can be added in an editor macro combination, so I don't think there is a built-in method to assign to a single key.