- Modify existing or create a new file called .inputrc under your cygwin home directory
- Add the following lines:
"\e[1;5C": forward-word # ctrl + right "\e[1;5D": backward-word # ctrl + left
- Save the file and restart cygwin
Saturday, April 9, 2011
How to configure cygwin to use ctrl + arrow to move cursor forward / backward
If you have used Windows for a while, you probably feel more comfortable using ctrl + left arrow and ctrl + right arrow to navigate the cursor through words. The default behavior in bash however is to use alt+f and alt+b. If you don't want to train yourself to learn yet another shortcut, follow three easy steps below to configure cygwin key bindings to use ctrl + left and ctrl + right.
Subscribe to:
Post Comments (Atom)
Thank you, this help me.
ReplyDeleteWorks great!
ReplyDeletethanks
ReplyDeleteu da man
ReplyDeleteThanks
ReplyDeleteGreat and I have a keen present: House Renovation house renovation ideas interior
ReplyDelete