-
Notifications
You must be signed in to change notification settings - Fork 5
Up Down arrow keys, INPUTRC and bash history search #3
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
Comments
|
Minty works fine with my current .inputrc (not running attached to ConEmu). "\e0A" / "\e0A" do not work in ConEmu with connector. This is the task I am using:
This is the output from connector with Gnu's documentation for intputrc doesn't include the "\e" syntax. Any idea what the origin of it is? http://www.gnu.org/software/bash/manual/bashref.html#Sample-Init-File |
Why not? There is "3.1.2.4 ANSI-C Quoting" |
Not a "zero", letter |
Thanks! Using letter O worked. If you don't mind me asking, how did you know that would work? I'm not sure I could have worked it out from the information I had available. I think the syntax that I used originally should have carried on working as I've seen it elsewhere: http://askubuntu.com/questions/59846/bash-history-search-partial-up-arrow |
Very simple. I've run "conemu-... --keys" from connector prompt. You've done the same from mintty )) I have to check standard for arrow keys. Current ones were initially implemented for Vim. |
Ah. I had If I can help out with key mapping, e.g. pressing keys and recording output under different shells terminals etc let me know. |
bind '"\e[A":history-search-backward' https://superuser.com/questions/7414/how-can-i-search-the-bash-history-and-rerun-a-command |
|
My config from WSL2 (Ubuntu 22.04):
I don't use cygwin/msys. Just WSL2. For some reason standard Linux key bindings ( And the contrary, @Maximus5 Can you explain this or maybe point me in the right direction? I want to make it to work in both ConEmu and Windows Terminal. Preferably the standard ( Edit Found the answer here. It's not the full story, though. I "fixed" the problem by using wslbridge2 as described on the page. But I would prefer to have an ability to just write |
I have the following set:
If I start typing a previous command and pres the UP / DOWN arrows I expect it to search for the previous / next history item that started with what I have typed. Instead it is just going forwards / backwards in the history, replacing what I had typed.
This works as expected when not using the connector.
(The connector is brilliant! If using the history with up arrow wasn't in my muscle memory I'd switch to it straight away.)
ConEmu cygwin/msys connector version 0.6.2
ConEmu 151205
git version 2.5.0.windows.1
The text was updated successfully, but these errors were encountered: