You are not logged in.
Pages: 1
It takes a few hundred metric milliseconds for the `;` symbol to display after pressing the key when I have a zsh shell open in urxvt. If I open vim or bash within the same shell the symbol displays right away. Is this because of zsh itself?
Last edited by dahy (2017-03-05 05:13:13)
Offline
Nope. Likely a config issue.
Offline
@jasonwryan You are right. I noticed that when holding the key down zsh would wait until release to display the string of characters. I checked my config and found these lines that I added in order to use ctrl+left and ctrl+right to navigate words (similar to alt+b and alt+f).
bindkey -e
bindkey ";5C" forward-word
bindkey ";5D" backward-wordCommenting them out removes the delay.
Offline
You probably want (depending on your terminal), something like:
bindkey "^[[A"Offline
`^[[A` didn't work but I was able to determine the correct character string by running `cat` and pressing ctrl+left and ctrl+right. Thanks for the cue!
# .zshrc
bindkey -e
bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word$ echo $TERM
rxvt-unicode
$ Last edited by dahy (2017-03-05 05:33:26)
Offline
Pages: 1