github / github/app

Feature request: Configurable submit / newline keybinding

Open
#3,651 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
2.1k
Forks
157
PR merge metrics
No merged PRs in 30d

Description

Feature request: Configurable submit / newline keybinding

Please allow users to configure which key submits a prompt and which inserts a
new line. Currently Enter submits and Shift+Enter adds a newline, and I often
accidentally submit mid-composition.

A simple toggle would be ideal, e.g.:

  • Submit: Ctrl+Enter
  • New line: Enter

Similar options already exist in VS Code, Slack, and ChatGPT, so the pattern is
familiar to users. Even a single setting ("Send with Ctrl+Enter instead of
Enter") would solve the problem.


Field Value
App version 1.1.16
OS Windows 10.0.26200
Theme GitHub
Path /chat
Tenure Week 10

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 at the /chat path and trace the existing Enter and Shift+Enter key handling. Check how prompt submission and newline insertion are wired, then verify that the configured key combination submits while the other inserts a newline without accidental submission.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.