what are the following keyboard shortcuts in a terminal?
- by kloop
I am trying to figure out a few keyboard shortcuts in a terminal in mac osx (and Linux):
In the command line:
go to the next word
go to the previous word
go to the end of the line
go to the beginning of the line
This will make it easier to change commands.. Right now, I am using the left/right arrow keys, which is time consuming.
I used bind -p as suggested below.
EDIT:
What do the following key bindings mean?
"\e\e[D": backward-word
"\e[1;5D": backward-word
"\e[5D": backward-word
"\eb": backward-word
and:
"\e\e[C": forward-word
"\e[1;5C": forward-word
"\e[5C": forward-word
"\ef": forward-word