From 604ece742f0be0eef5bf0d209911ea4a12a93eba Mon Sep 17 00:00:00 2001 From: Marco D'Agostini Date: Wed, 6 Nov 2019 15:08:45 +0000 Subject: [PATCH] --- TerminalShorcuts.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/TerminalShorcuts.md b/TerminalShorcuts.md index 34ccb99..2a511a9 100644 --- a/TerminalShorcuts.md +++ b/TerminalShorcuts.md @@ -15,11 +15,11 @@ Let's consider the last command to be: - **Cut commands** (relative to cursor's position) - Ctrl+w: cuts last word - - Alt+d: cuts next word - - Ctrl+k: cuts everything after - - Ctrl+u, **zsh:** Alt+w: cuts everything before - - **zsh:** Ctrl+u: cuts the entire command *(In bash you can combine Ctrl+u , Ctrl+k)* - - Ctrl+y: paste characters previously cut with any **Cut command**. *In bash You can chain **cut commands**, and Ctrl+y will paste them all.* + - Alt+d: cuts next word + - Ctrl+k: cuts everything after + - Ctrl+u, **zsh:** Alt+w: cuts everything before + - **zsh:** Ctrl+u: cuts the entire command *(In bash you can combine Ctrl+u , Ctrl+k)* + - Ctrl+y: paste characters previously cut with any **Cut command**. *In bash You can chain **cut commands**, and Ctrl+y will paste them all.* - Ctrl+_: undo last edit *(very useful when exceeding Ctrl+w)* - Ctrl+left: move to last word - Ctrl+right: move to next word