Code style.
Set editor.activeEnterMode and editor.enterMode instead of config.enterMode.
Added comment for the change.
Reverted config#enterMode value for backwards compatibility. Improved comments.
Changelog entry.
Merge branch 't/11202'