Hi all,
One of the things that using OSX Terminal allowed, I think it was from OSX 10.6 onwards, was
the possibility to jump between "words" in a command line to quickly get
to the desired location you need to change.
This is done by using the "Alt-Arrow" Keys
In Leopard and Snow Leopard PPC this does not happen.
I don't know if this is common knowledge but I'm sharing this with you
as it may be of use to some.
To achieve the behavior mentioned above you need to edit the file
".inputrc" ( yes it has a dot in the beginning ) in your user's home folder.
In this file write
"\e[C" : forward-word
"\e[D" : backward-word
If you are doing the editing through the Terminal app close it and open again.
That's it you can now jump between words
PS. This works with Leopard and upwards
Edit: Found something strange but the bellow works with "CTRL-Arrow" ( verified )
Sorry looking better about Alt
"\e[5C" : forward-word
"\e[5D" : backward-word
Best regards,
voidRunner
One of the things that using OSX Terminal allowed, I think it was from OSX 10.6 onwards, was
the possibility to jump between "words" in a command line to quickly get
to the desired location you need to change.
This is done by using the "Alt-Arrow" Keys
In Leopard and Snow Leopard PPC this does not happen.
I don't know if this is common knowledge but I'm sharing this with you
as it may be of use to some.
To achieve the behavior mentioned above you need to edit the file
".inputrc" ( yes it has a dot in the beginning ) in your user's home folder.
In this file write
"\e[C" : forward-word
"\e[D" : backward-word
If you are doing the editing through the Terminal app close it and open again.
That's it you can now jump between words
PS. This works with Leopard and upwards
Edit: Found something strange but the bellow works with "CTRL-Arrow" ( verified )
Sorry looking better about Alt
"\e[5C" : forward-word
"\e[5D" : backward-word
Best regards,
voidRunner
Last edited: