mirror of
https://github.com/you-dont-need/You-Dont-Need-GUI.git
synced 2025-08-19 11:31:38 +02:00
Nicer presentation of hotkeys (#80)
This commit is contained in:
49
readme.md
49
readme.md
@@ -618,33 +618,32 @@ $ whois www.google.com
|
|||||||
|
|
||||||
## Hotkeys
|
## Hotkeys
|
||||||
|
|
||||||
```
|
| 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
|
| <kbd>Ctrl</kbd>+<kbd>A</kbd> | Go to the beginning of the line you are currently typing on |
|
||||||
Ctrl + L Clears the Screen, similar to the clear command
|
| <kbd>Ctrl</kbd>+<kbd>E</kbd> | Go to the end of the line you are currently typing on |
|
||||||
Ctrl + U Clears the line before the cursor position. If you are at the end of the line, clears the entire line.
|
| <kbd>Ctrl</kbd>+<kbd>L</kbd> | Clears the Screen, similar to the clear command |
|
||||||
Ctrl + H Same as backspace
|
| <kbd>Ctrl</kbd>+<kbd>U</kbd> | Clears the line before the cursor position. If you are at the end of the line, clears the entire line. |
|
||||||
Ctrl + R Lets you search through previously used commands
|
| <kbd>Ctrl</kbd>+<kbd>H</kbd> | Same as backspace |
|
||||||
Ctrl + C Kill whatever you are running
|
| <kbd>Ctrl</kbd>+<kbd>R</kbd> | Lets you search through previously used commands |
|
||||||
Ctrl + D Exit the current shell
|
| <kbd>Ctrl</kbd>+<kbd>C</kbd> | Kill whatever you are running |
|
||||||
Ctrl + Z Puts whatever you are running into a suspended background process. fg restores it.
|
| <kbd>Ctrl</kbd>+<kbd>D</kbd> | Exit the current shell |
|
||||||
Ctrl + W Delete the word before the cursor
|
| <kbd>Ctrl</kbd>+<kbd>Z</kbd> | Puts whatever you are running into a suspended background process. fg restores it. |
|
||||||
Ctrl + K Clear the line after the cursor
|
| <kbd>Ctrl</kbd>+<kbd>W</kbd> | Delete the word before the cursor |
|
||||||
Ctrl + T Swap the last two characters before the cursor
|
| <kbd>Ctrl</kbd>+<kbd>K</kbd> | Clear the line after the cursor |
|
||||||
Ctrl + F Move cursor forward one character
|
| <kbd>Ctrl</kbd>+<kbd>T</kbd> | Swap the last two characters before the cursor |
|
||||||
Ctrl + B Move cursor backward one character
|
| <kbd>Ctrl</kbd>+<kbd>F</kbd> | Move cursor forward one character |
|
||||||
Esc + T Swap the last two words before the cursor
|
| <kbd>Ctrl</kbd>+<kbd>B</kbd> | Move cursor backward one character |
|
||||||
Alt + T Same as Esc + T
|
| <kbd>Esc</kbd>+<kbd>T</kbd> | Swap the last two words before the cursor |
|
||||||
Alt + F Move cursor forward one word on the current line
|
| <kbd>Alt</kbd>+<kbd>T</kbd> | Same as <kbd>Esc</kbd> + <kbd>T</kbd> |
|
||||||
Alt + B Move cursor backward one word on the current line
|
| <kbd>Alt</kbd>+<kbd>F</kbd> | Move cursor forward one word on the current line |
|
||||||
Esc + F Same as Alt + F
|
| <kbd>Alt</kbd>+<kbd>B</kbd> | Move cursor backward one word on the current line |
|
||||||
Esc + B Same as Alt + B
|
| <kbd>Esc</kbd>+<kbd>F</kbd> | Same as <kbd>Alt</kbd> + <kbd>F</kbd> |
|
||||||
Alt + . Paste the last word of the most recently command
|
| <kbd>Esc</kbd>+<kbd>B</kbd> | Same as <kbd>Alt</kbd> + <kbd>B</kbd> |
|
||||||
Tab Auto-complete files and directory names
|
| <kbd>Alt</kbd>+<kbd>.</kbd> | Paste the last word of the most recently command |
|
||||||
```
|
| <kbd>Tab</kbd> | Auto-complete files and directory names |
|
||||||
[Go to table of contents 🔼](#quick-links)
|
[Go to table of contents 🔼](#quick-links)
|
||||||
|
|
||||||
|
|
||||||
## I can't remember these cryptic commands
|
## 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.
|
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.
|
||||||
|
Reference in New Issue
Block a user