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
Makes history-substring-search use term specific up and down buttons. #2511
Conversation
@robbyrussell : pls merge this commit to fix history-substring-search plugin broken after merge #1355 |
This fixes #2614 for me as well. |
@robbyrussell: We have three testers here and it is a no-brainer fix. Furthermore |
#2634 was merged two days ago, and |
The history substring search plugin uses keybindings that weren't changed in #2634 |
Oh yes, you are right. Though maybe you could add checks with 👍 anyway |
🍰 yay, it fixes it for me too! |
Hi, |
Alright, I added the check all of you have been asking for. I am not sure why in all of the examples you linked to never was a default key binding one would fallback to in the case terminfo is not available. Never the less these patches seemed to have been merged upstream, so I guessed it is ok if I do it the same way, even if it is just for the sake of simplicity and consistency. |
Adding a fallback is definitely a work to be done, but right now it doesn't seem easy to figure out which keycode to use.. Either way, it should be the same in this file as well as in |
This fix works for me +1 (tested on ubuntu 12.04 and OSX 10.8.5) |
This fixes #1433 also for me, using Mac OS X ... +1 |
I wanted to test it but it no longer merges cleanly with master. Can you rebase? |
I checkouted this PR and it still doesn't work for me. I'm on OS X 10.9.2, system zsh (
|
This didn't work for me
fwiw
|
@mzgol and @karlhungus: type |
Here you go (
|
I confirm that this PR is fixes problemn with UP and DOWN keys on st + zsh terminal |
Thanks, works for me too. |
works for me, too |
Works for me on Ubuntu 12.04 |
Nice! works for me. |
Works for me on Ubuntu 13.10 |
Makes history-substring-search use term specific up and down buttons.
This merge broke
If I instead declare the terminal as
|
@vbajpai, can you post the output of |
This merge broke |
This broke for me on gnome-terminal 3.12.0 # CTRL-V + <up key> and CTRL-V + <down key>
% ^[[A ^[[B
# echo "$terminfo[kcuu1]"
% A
# echo ${terminfo[kcud1]}
% B |
This also broke for me. I'm on OS X 10.9.2. My $TERM is Here's my infocmp:
And for reference, with rxvt:
And xterm-256color:
|
There are a lot of people using
I'm sorry I don't know more about |
…ovided one until the issue ohmyzsh/ohmyzsh#2511 has been fixed
This is broken for me on Mac OS 10.9.3. The workaround to get this working for me was to add the following to my .zshrc
|
Latest master works fine for me in OS X 10.9.3 without any manual bindings in .zshrc. I reported it being broken even after merging this PR so something must have changed in the meantime. |
@billcarroll 's solution works for me (running OS X 10.9.3) |
Use term specific up and down buttons. See ohmyzsh/ohmyzsh#2511
@naegelejd: |
Fixes #2089 and problems with some linux distributions and/or terminals.