View previous topic :: View next topic |
Author |
Message |
KarlH420 n00b
Joined: 25 Apr 2005 Posts: 45
|
|
Back to top |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Tue Feb 12, 2008 10:41 am Post subject: |
|
|
The default settings are in /etc/inputrc, not /etc/input/rc. Depending on whether or not you're logged in on the console or a terminal emulator, the bindings can vary. E.g, in Konsole, forward word is ALT+right, and backword-word is ALT+left. In other emulators, it's ESC+right and ESC+left. In Yakuake, either of those work. Also, ESC+f and ESC+b should work for forwards and backwords respectively regardless of how you're logged in. To add bindings for CTRL+left and CTRL+right, follow these directions from inputrc:
Quote: |
Quick dirty little note:
To get the key sequence for binding, you can abuse bash.
While running bash, hit CTRL+V, and then type the key sequence.
So, typing 'ALT + left arrow' in Konsole gets you back:
^[[1;3D
The readline entry to make this skip back a word will then be:
"\e[1;3D" backward-word
|
_________________ Thomas S. Howard |
|
Back to top |
|
|
KarlH420 n00b
Joined: 25 Apr 2005 Posts: 45
|
Posted: Tue Feb 12, 2008 11:23 am Post subject: |
|
|
Thanks, the /etc/inputrc was a typo. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|