Join GitHub today
Use terminfo key codes instead of hardcoded ones for key bindings #1355
Hardcoded key escape sequences (such as
I expect this to become a real-world problem as soon as recent Debian and Ubuntu versions become used more widely: Those ship with a
My commits migrate the key bindings to terminfo wherever possible. Please note that in order to use
I just did an upgrade of oh-my-zsh, and the history-substring-search plugin broke. I fixed it by adding the following two lines to my personal zshrc (non oh-my-zsh) file.
I figured this out by doing
I think this pull request is the better way to deal with this. Please merge it in!
lsb_release -a Description: Ubuntu 12.10 Release: 12.10 zsh --version zsh 5.0.0 (x86_64-unknown-linux-gnu)
mv key-bindings.zsh key-bindings_original.zsh wget https://raw.github.com/F30/oh-my-zsh/174c9177aa34b4c05bb5a1c6f637e6fa479a8e10/lib/key-bindings.zsh
Really dirty but did the job, please merge this :)
Thanks to @F30!