diff --git a/readme.md b/readme.md index f9ae45c..f0de77a 100644 --- a/readme.md +++ b/readme.md @@ -618,33 +618,32 @@ $ whois www.google.com ## Hotkeys -``` -Ctrl + A Go to the beginning of the line you are currently typing on -Ctrl + E Go to the end of the line you are currently typing on -Ctrl + L Clears the Screen, similar to the clear command -Ctrl + U Clears the line before the cursor position. If you are at the end of the line, clears the entire line. -Ctrl + H Same as backspace -Ctrl + R Lets you search through previously used commands -Ctrl + C Kill whatever you are running -Ctrl + D Exit the current shell -Ctrl + Z Puts whatever you are running into a suspended background process. fg restores it. -Ctrl + W Delete the word before the cursor -Ctrl + K Clear the line after the cursor -Ctrl + T Swap the last two characters before the cursor -Ctrl + F Move cursor forward one character -Ctrl + B Move cursor backward one character -Esc + T Swap the last two words before the cursor -Alt + T Same as Esc + T -Alt + F Move cursor forward one word on the current line -Alt + B Move cursor backward one word on the current line -Esc + F Same as Alt + F -Esc + B Same as Alt + B -Alt + . Paste the last word of the most recently command -Tab Auto-complete files and directory names -``` +| Hotkey | Description | +|----------|-------------| +| Ctrl+A | Go to the beginning of the line you are currently typing on | +| Ctrl+E | Go to the end of the line you are currently typing on | +| Ctrl+L | Clears the Screen, similar to the clear command | +| Ctrl+U | Clears the line before the cursor position. If you are at the end of the line, clears the entire line. | +| Ctrl+H | Same as backspace | +| Ctrl+R | Lets you search through previously used commands | +| Ctrl+C | Kill whatever you are running | +| Ctrl+D | Exit the current shell | +| Ctrl+Z | Puts whatever you are running into a suspended background process. fg restores it. | +| Ctrl+W | Delete the word before the cursor | +| Ctrl+K | Clear the line after the cursor | +| Ctrl+T | Swap the last two characters before the cursor | +| Ctrl+F | Move cursor forward one character | +| Ctrl+B | Move cursor backward one character | +| Esc+T | Swap the last two words before the cursor | +| Alt+T | Same as Esc + T | +| Alt+F | Move cursor forward one word on the current line | +| Alt+B | Move cursor backward one word on the current line | +| Esc+F | Same as Alt + F | +| Esc+B | Same as Alt + B | +| Alt+. | Paste the last word of the most recently command | +| Tab | Auto-complete files and directory names | [Go to table of contents 🔼](#quick-links) - ## I can't remember these cryptic commands You can always google or `man` the commands you are not familiar with. Or, checkout [tldr](https://github.com/tldr-pages/tldr), a collection of simplified and community-driven man pages.