X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <49F5F4BA.2010102@gmail.com> Date: Mon, 27 Apr 2009 19:08:58 +0100 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Dave Korn CC: cygwin AT cygwin DOT com Subject: Re: mintty and CTRL + -> References: <1d4c5bbf74af4d91aabccf72f841367b AT mail DOT smartmobili DOT com> <416096c60904270956i12b2a93ci4199b50c4e348745 AT mail DOT gmail DOT com> <49F5EAD8 DOT 7020104 AT gmail DOT com> In-Reply-To: <49F5EAD8.7020104@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Dave Korn wrote: >> Anyone used to Windows key combinations for editing text might find the >> following bindings useful: >> >> # Ctrl+Left/Right to move by whole words >> "\e[1;5D": backward-word >> "\e[1;5C": forward-word > > (Not mitty, but related): That didn't work for me in a cmd.exe shell, but > this does: > > "\e[D": backward-word > "\e[C": forward-word > > I don't know why. Argh, now I do. It's because the ctrl modifier doesn't make it through, so that setting changes ordinary left/right arrow to jump by words. Don't suppose anyone knows where the ctrl modifier gets lost? cheers, DaveK -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/