RocketChat / RocketChat/Rocket.Chat

Settings for Shift+Enter action

Open
#13,175 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

There was the #5673 issue, which makes Ctrl+Enter inserts a new line. So now, the Enter button with any modifers perform the same action (send message or insert a new line, depends on settings).
But I prefer to use Shift+Enter to insert a new line and Ctrl+Enter to send the message.

Could we get some setting which makes it possible?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading issue #5673 and locating the message composer’s handling of Enter, Shift+Enter, and Ctrl+Enter. Add a setting that independently controls whether Shift+Enter inserts a newline and Ctrl+Enter sends the message, then verify both key combinations follow the selected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.