enterMode (string)
Determines whether and how new lines are indented when the enter key is pressed. The following modes are supported:
"indent" (the default)
Use the mode’s indentation rules to give the new line the correct indentation.
"keep"
Indent the line the same as the previous line.
"flat"
Do not indent the new line.
"flat"
Do not indent the new line.