muhhiminminmin / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

Ctrl + Left/Right to move cursor at word boundaries #346

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In Linux bash or the native Windows cmd console (also console2 from 
sourceforge) pressing Ctrl+Left/Right will move the cursor at each word 
boundary, making it so much easier to move inside long command lines.

In mintty (granted, cygwin too), pressing Ctrl+Left/Right will write ";5D" and 
";5C" in the console.

Could this possibly be "fixed"? I'm not sure this is a bug since cygwin behaves 
the same but would be really nice if you could fix/enable ctrl+left/right in 
mintty.

Original issue reported on code.google.com by normad...@gmail.com on 14 Jul 2012 at 3:23

GoogleCodeExporter commented 8 years ago
It's a question of configuring bash/readline appropriately. See here on how to 
do this:

http://code.google.com/p/mintty/wiki/Tips#Readline_configuration

Original comment by andy.koppe on 16 Jul 2012 at 12:11

GoogleCodeExporter commented 8 years ago
That's what I get for not doing my bit of searching or RTFM'ing enough. Thanks.

Original comment by normad...@gmail.com on 16 Jul 2012 at 12:30

GoogleCodeExporter commented 8 years ago
Thanks a bunch for the great addition to cygwin.  No more Windows cmd...

Original comment by mgo...@gmail.com on 13 Dec 2013 at 4:52