Start a new line and type #
followed by a space
and you will get an H1 headline.
This feature is called input rules. There are some of these shortcuts for the most basic nodes enabled by default. Try #, ##, ###, …
for headlines, >
for blockquotes, - or +
for bullet lists. And of course you can add your own input rules.