Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: CTRL+Left & CTRL+Right



On 2009-08-14 18:30:28 -0400, Lucas Salies Brum wrote:
> How to set CTRL+Left and CTRL+Right to jump one word?

With bindkey.

You can get the escape sequences corresponding to Ctrl-Left and
Ctrl-Right with "cat". Do not test with something like "tack"
as it switches to application mode (which can change the escape
sequences) and zsh doesn't use it.

-- 
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



Messages sorted by: Reverse Date, Date, Thread, Author