This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mintty and CTRL + ->


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]