From d033536d202524126514729c4073030327cf59ee Mon Sep 17 00:00:00 2001 From: Marco D'Agostini Date: Fri, 3 Apr 2020 11:36:32 -0500 Subject: [PATCH] Moved *insert commands* to its own section, and specified repeat commands only works in Linux --- bash-zsh_TerminalShorcuts.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bash-zsh_TerminalShorcuts.md b/bash-zsh_TerminalShorcuts.md index c63c4c5..33d4fb5 100644 --- a/bash-zsh_TerminalShorcuts.md +++ b/bash-zsh_TerminalShorcuts.md @@ -8,9 +8,12 @@ Let's consider the last command to be: ## Some useful shortcuts: - - Alt+.: insert last argument from last command *(repeat to go back in history)* - - Alt+number+.: insert #nth last argument from last command *(repeat to go back in history)* - - Alt+- , number , Alt+., **zsh:** Alt+-+#+.: insert #nth first argument from last command *(repeat to go back in history)* + - **Select previous arguments** + - Alt+.: insert last argument from last command. + - Alt+number+.: insert #nth last argument from last command. + - Alt+- , number , Alt+., **zsh:** Alt+-+#+.: insert #nth first argument from last command. + + *In Linux you can repeat commands to go back in history* - **Cut commands** (relative to cursor's position)