[Pkg-zsh-devel] Bug#536459: zsh: Ctrl-ARROW gives '; 5A' escape sequence instead of moving by word

Witold Baryluk witold.baryluk at gmail.com
Sat Apr 6 04:20:01 BST 2019


Package: zsh
Version: 5.7.1-1
Followup-For: Bug #536459

I also find it annoying in zsh.

I did found, that adding this lines to ~/.zshrc makes it work:

bindkey "^[[1;5C" forward-word
bindkey "^[[1;5D" backward-word


(I did discover it on https://unix.stackexchange.com/questions/58870/ctrl-left-right-arrow-keys-issue)

I am using Terminator. This happens both locally and over ssh in
Terminator. It is annoying because I do have dozens of computers and
servers, and I prefer not to edit any configs like ~/.zshrc and only use
default settings, as this is much easier. So I often find myself just
stopping using zsh and sticking to bash that works just fine with
Ctrl+Arrow with my terminator and ssh.


Regards!

Thanks,
Witold



-- Package-specific info:

Packages which provide vendor completions:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version                     Architecture Description
+++-==============-===========================-============-=======================================================
ii  curl           7.64.0-1                    amd64        command line tool for transferring data with URL syntax
ii  docker-engine  17.05.0~ce-0~debian-stretch amd64        Docker: the open-source application container engine
ii  systemd        241-1                       amd64        system and service manager
ii  udev           241-1                       amd64        /dev/ and hotplug management daemon

dpkg-query: no path found matching pattern /usr/share/zsh/vendor-functions/


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages zsh depends on:
ii  libc6       2.28-8
ii  libcap2     1:2.25-2
ii  libtinfo6   6.1+20181013-2
ii  zsh-common  5.7.1-1

Versions of packages zsh recommends:
ii  libc6         2.28-8
ii  libncursesw6  6.1+20181013-2
ii  libpcre3      2:8.39-12

Versions of packages zsh suggests:
pn  zsh-doc  <none>

-- no debconf information



More information about the Pkg-zsh-devel mailing list