command_line_hotkeys
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| command_line_hotkeys [2024/05/16 11:46] – 134.190.232.164 | command_line_hotkeys [2024/08/22 11:51] (current) – 134.190.232.164 | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| Ctrl-u Remove everything before the cursor | Ctrl-u Remove everything before the cursor | ||
| Ctrl-w Remove the (previous) word | Ctrl-w Remove the (previous) word | ||
| + | Meta-d | ||
| Ctrl-y Paste (YANK) the last thing you removed with Ctrl-k, Ctrl-u or Ctrl-w | Ctrl-y Paste (YANK) the last thing you removed with Ctrl-k, Ctrl-u or Ctrl-w | ||
| Ctrl-l Clear the screen (same as clear) Ctrl-d Exit terminal session (same as exit) | Ctrl-l Clear the screen (same as clear) Ctrl-d Exit terminal session (same as exit) | ||
| Line 29: | Line 30: | ||
| Meta = Esc on Mac keyboards | Meta = Esc on Mac keyboards | ||
| - | If you use iTerm2 on a Mac, you can make the Option key act as the Meta key | + | If you use iTerm2 on a Mac, you can make the Option key act as the Meta key: |
| + | Preferences -> Profiles -> Keys -> Esc+ | ||
command_line_hotkeys.1715870796.txt.gz · Last modified: by 134.190.232.164
