As I know, Terminal's short keys come from Emac, when I refer to meta short keys it means that you can use esc button or setting option(alt) button as a meta key. (Settings > Keyboard > Use option as meta key)
- Ctrl + a = Go to the beginning of the line
- Ctrl + e = Go to the end of the line
- Ctrl + l or Command + k = Clear screen
- Ctrl + r = Search for previous commands (pressing more r to get earlier commands)
- Ctrl + w = Delete the word before cursor
- Meta + d = Delete the word after the cursor
- Ctrl + u = Clear the line before cursor
- Ctrl + k = Clear the line after cursor
- Meta + t = Swap last 2 words before cursor
- Ctrl + d = Delete a character after cursor
- Meta + f = Move cursor to the right one word
- Meta + b = Move cursor to the left one word
No comments:
Post a Comment