Description
Description
The file edit auto-complete shouldn't interfere with typing and use a shortcut like shift+enter. Auto-completing on enter is a fundamentally disruptive and kind of destructive default, because I may simply want to enter a new line. This is even worse with more free form files like markdown files, where Gitea currently seems to have an autocomplete active, where the suggestions are going to be generally very unhelpful, very random, and I'm way more likely to want to enter a new line than pick any of the auto-complete suggestions.
To make it more discoverable, simply add the shortcut to the popup after changing it to something more sane like shift+enter, like this:
Screenshots
Pressing enter here should enter a new line, not write "This" twice:
Gitea Version
1.22.0+dev-334-ge88377470
Can you reproduce the bug on the Gitea demo site?
Yes
Operating System
Linux
Browser Version
Firefox 120.0b9