Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'Alternative delete a 'word' shortcut in Terminal' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Alternative delete a 'word' shortcut in Terminal
Authored by: taojian on Sun, Sep 2 2007 at 4:20AM PDT
This works nicely, but if I held down the esc key a little too long, it started behaving oddly. It looked like it was doing some kind of complete-command-and-run function: when I was experimenting with `ls` it completed a directory name (like tab usually would), and then ran the ls command repeatedly, until I let up on the esc key. I tried it with an empty command line and it asked if I wanted to display all 1245 possibilities, which I didn't.

Does anyone have a more precise explanation for what holding down the esc key is doing?

[ Reply to This | # ]
Alternative delete a 'word' shortcut in Terminal
Authored by: fguilleme on Sun, Sep 2 2007 at 6:32AM PDT
Actually M-C-[ is bound to complete! And since Meta returns escape it is identical to C-[ C-[ so two times escapes.
Have a look to man readline.

[ Reply to This | # ]