Skip to content

Confirm with cmd+enter instead of enter key #133

@DameNianch

Description

@DameNianch

As the title says, I want to confirm with cmd+enter instead of enter key. If there is a way to do this, please let me know. If not, I would like the feature to be added. I'm not confident about the code quality, but I can submit a PR.

The following are the reasons for this feature request.

Confirming with the enter key is problematic for many Japanese people. In Japanese, 3-7 types of characters are mainly used: hiragana, katakana, kanji, and alphabet (x2-4). After entering text on the keyboard, the user selects which type to use. Since the enter key is used to select, if the text is confirmed with the enter key, it is frustrating because you cannot continue entering text. I have expressed a specific example of the operation in text.

When typing
"CarlosNZは偉大なengineerです"
It need to type
"CarlosNZ" "は" "enter" "偉大な" "enter" "engineer" "です" "enter"

ref:

if (e.key === 'Enter' && !e.shiftKey) handleEdit()

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions