Ctrl-[ should behave as Esc

Open
#3,117 1 comment 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Domain
cli

Research direction

No files, tests, or entry points are mentioned. Start by locating the terminal input and key-handling code, then verify how Ctrl-[, Ctrl-I, and Ctrl-M are represented; done means each consistently behaves like Esc, Tab, and Enter in the described terminal contexts.

Written by the indexing model from the issue text.

Description

enhancement triaged
Discord username (optional)

No response

Describe the solution you'd like?
In a terminal environment, I expect this to always work the same as Esc. When a completion menu is open, I type Ctrl-[ rather than the escape key (a habit leftover from the dark days of macbooks not having a physical escape key). 

In a similar vein, I expect Ctrl-I to work the same as Tab, and Ctrl-M to work as Enter, but they don't. I don't rely on these as much as Ctrl-[, but I do expect them to work like they do in other terminals. This is important for folks who have keyboards where certain keys are less accessible (e.g., a 42-key keyboard where Enter is typed as a key chord).
Is your feature request related to a problem? Please describe.

No response

Additional context

No response

How important is this feature to you?

4

Warp Internal (ignore) - linear-label:770f6576-d6c0-4e4f-a259-fc64b5156087

None

Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

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.

More from warpdotdev/warp

All issues in warpdotdev/warp

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.