Binds some additional sequences to emacs-backward-word and emacs-forward-word. The problem is that terminfo doesn't know about Ctrl+ArrowKeys, so one has to resort to using raw sequences as used in the wild. The sequences were copied from Debian's /etc/inputrc (readline configuration), so they should be fairly portable. It works in xterm and rxvt terminals and doesn't work on TERM=linux (virtual console) as Ctrl+Arrows send the same sequence as Arrows alone. http://zshwiki.org/home/zle/bindkeys http://sources.debian.net/src/readline6/6.2+dfsg-0.1/debian/inputrc?hl=44#L44pull/563-control-arrow-key-bindings
parent
8f711d64b5
commit
7823bb9985
Loading…
Reference in new issue