zsh-users / zsh-history-substring-search

🐠 ZSH port of Fish history search (up arrow)
2.65k stars 156 forks source link

Modify your readme, bindkey does not work, as mentioned in readme #138

Open ayk16 opened 2 years ago

ayk16 commented 2 years ago

The following lines - bindkey '^[[A' history-substring-search-up bindkey '^[[B' history-substring-search-down did not work in my mac, not sure why

But adding the following lines worked perfectly bindkey '^[OA' history-substring-search-up bindkey '^[OB' history-substring-search-down

Please add this in your readme.

Even though when I tried using cat -v It showed ^[[A and ^[[B So not really sure why ^[OA and ^[OB worked, but this can be helpful for future viewers

yum13241 commented 2 years ago

Can confirm, I'm not on a Mac.

RomainMorlevat commented 11 months ago

I confirm too, on GNU/Linux.