mintty / wsltty

Mintty as a terminal for Bash on Ubuntu on Windows / WSL
Other
3.12k stars 104 forks source link

Ctrl + Shift + R for history search #301

Closed okneloper closed 3 years ago

okneloper commented 3 years ago

Hey, I found wsltty because I was annoyed by the fact that windows' Ubuntu terminal doesn't support any kind of clipboard pasting other than a mouse click! I was so happy I did until I pressed Ctrl + Shift + R to search for a command in history :) Unfortunately, this shortcut doesn't work here. Would it be possible to add support for this?

Biswa96 commented 3 years ago

Is not that Ctrl + R to search history in bash?

mintty commented 3 years ago

As Biswa indicates, this is a shell feature, not a terminal feature. However, the shortcut might get captured by mintty if Options - Keys - Ctrl+Shift+letter shortcuts is enabled. Disable that.

okneloper commented 3 years ago

I think it's just my bad, I always thought it was Ctrl + Shift + R, but it turns out Ctrl + R is the correct one, works everywhere including wsltty. Thanks so much for your help!