Skip to content

Key binding to CTRL+r doesn't work on Warp, but works on other terminals. #6526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 of 3 tasks
llagerlof opened this issue May 26, 2025 · 1 comment
Closed
2 of 3 tasks
Labels
Bugs Bugs, Hangs, Crash, and Freezes

Comments

@llagerlof
Copy link

llagerlof commented May 26, 2025

Pre-submit Checks

Describe the bug

Environment:

  • Windows
  • Using wsl inside Warp.

Description:

I have a program that I run and I bind it to CTRL+r (overriding the default bash CTRL+r). It works, but in Warp CTRL+r is already overritten by a Warp feature.

So, in Warp config I changed the Warp's CTRL+r to something else, and bing my own using:

bind -x '"\C-r": "source /usr/local/bin/my_own_command"'

Now when I press CTRL+r, the letter "r" appears on prompt, ignoring completely the CTRL.

I tried to set the binding in .bashrc and reestart Warp, but nothing works.

Can't bind other keys in Warp using the bind command.

To reproduce

  • Change the Warp default binding CTRL+r to something else.
  • Run bind -x '"\C-r": "ls /"' to run ls / when pressing CTRL+r.
  • Press CTRL+r

Expected behavior

List the files and directories in /.

Screenshots, videos, and logs

No response

Operating system (OS)

wsl

Operating system and version

Windows 11

Shell Version

Bash 5.2.37

Current Warp version

v0.2025.05.21.08.11.stable_01

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

No

Is this an issue only in Warp?

Yes, I confirmed that this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

@llagerlof llagerlof added the Bugs Bugs, Hangs, Crash, and Freezes label May 26, 2025
@dannyneira
Copy link
Member

Hey @llagerlof

We're tracking this issue of bindkey support over at #537 and would appreciate it if you could 👍 and comment there if you're also experiencing the same bug. This helps us gauge the impact of the issue.

We'll be closing this as a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bugs, Hangs, Crash, and Freezes
Projects
None yet
Development

No branches or pull requests

2 participants