Last active
August 30, 2025 22:21
-
Star
(197)
You must be signed in to star a gist -
Fork
(30)
You must be signed in to fork a gist
-
-
Save acamino/2bc8df5e2ed0f99ddbe7a6fddb7773a6 to your computer and use it in GitHub Desktop.
Revisions
-
acamino revised this gist
Oct 20, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,7 +12,7 @@ - [ ] `ALT + D` — Delete the word after the cursor - [x] `CTRL + R` — Search history - [ ] `CTRL + G` — Escape from search mode - [ ] `CTRL + -` — Undo the last change - [x] `CTRL + L` — Clear screen - [ ] `CTRL + S` — Stop output to screen - [ ] `CTRL + Q` — Re-enable screen output -
acamino revised this gist
Oct 20, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ - [ ] `CTRL + U` —(zsh) If you're using the zsh, this will clear the entire line - [ ] `CTRL + K` — Clear the characters on the line after the current cursor position - [ ] `ESC + [backspace]` — Delete the word in front of the cursor - [x] `CTRL + W` — Delete the word in front of the cursor - [ ] `ALT + D` — Delete the word after the cursor - [x] `CTRL + R` — Search history - [ ] `CTRL + G` — Escape from search mode -
acamino revised this gist
Oct 20, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -16,7 +16,7 @@ - [x] `CTRL + L` — Clear screen - [ ] `CTRL + S` — Stop output to screen - [ ] `CTRL + Q` — Re-enable screen output - [x] `CTRL + C` — Terminate/kill current foreground process - [x] `CTRL + Z` — Suspend/stop current foreground process - [ ] `!!` — Execute last command in history - [ ] `!abc` — Execute last command in history beginning with abc -
acamino revised this gist
Oct 20, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -13,7 +13,7 @@ - [x] `CTRL + R` — Search history - [ ] `CTRL + G` — Escape from search mode - [ ] `CTRL + _` — Undo the last change - [x] `CTRL + L` — Clear screen - [ ] `CTRL + S` — Stop output to screen - [ ] `CTRL + Q` — Re-enable screen output - [ ] `CTRL + C` — Terminate/kill current foreground process -
acamino revised this gist
Oct 20, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,7 @@ - [ ] `CTRL + S` — Stop output to screen - [ ] `CTRL + Q` — Re-enable screen output - [ ] `CTRL + C` — Terminate/kill current foreground process - [x] `CTRL + Z` — Suspend/stop current foreground process - [ ] `!!` — Execute last command in history - [ ] `!abc` — Execute last command in history beginning with abc - [ ] `!abc:p` — Print last command in history beginning with abc -
acamino revised this gist
Oct 15, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ ### Shortcut — Action - [x] `CTRL + A` — Move to the beginning of the line - [x] `CTRL + E` — Move to the end of the line - [ ] `CTRL + [left arrow]` — Move one word backward (on some systems this is ALT + B) - [ ] `CTRL + [right arrow]` — Move one word forward (on some systems this is ALT + F) - [ ] `CTRL + U` — (bash) Clear the characters on the line before the current cursor position -
acamino revised this gist
Oct 15, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ ### Shortcut — Action - [x] `CTRL + A` — Move to the beginning of the line - [ ] `CTRL + E` — Move to the end of the line - [ ] `CTRL + [left arrow]` — Move one word backward (on some systems this is ALT + B) - [ ] `CTRL + [right arrow]` — Move one word forward (on some systems this is ALT + F) -
acamino revised this gist
Oct 4, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ - [ ] `CTRL + K` — Clear the characters on the line after the current cursor position - [ ] `ESC + [backspace]` — Delete the word in front of the cursor - [ ] `CTRL + W` — Delete the word in front of the cursor - [ ] `ALT + D` — Delete the word after the cursor - [x] `CTRL + R` — Search history - [ ] `CTRL + G` — Escape from search mode - [ ] `CTRL + _` — Undo the last change -
acamino revised this gist
Oct 4, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ - [ ] `CTRL + K` — Clear the characters on the line after the current cursor position - [ ] `ESC + [backspace]` — Delete the word in front of the cursor - [ ] `CTRL + W` — Delete the word in front of the cursor - [x] `ALT + D` — Delete the word after the cursor - [x] `CTRL + R` — Search history - [ ] `CTRL + G` — Escape from search mode - [ ] `CTRL + _` — Undo the last change -
acamino revised this gist
Oct 4, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,7 +10,7 @@ - [ ] `ESC + [backspace]` — Delete the word in front of the cursor - [ ] `CTRL + W` — Delete the word in front of the cursor - [ ] `ALT + D` — Delete the word after the cursor - [x] `CTRL + R` — Search history - [ ] `CTRL + G` — Escape from search mode - [ ] `CTRL + _` — Undo the last change - [ ] `CTRL + L` — Clear screen -
acamino revised this gist
Oct 4, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ - [ ] `CTRL + U` —(zsh) If you're using the zsh, this will clear the entire line - [ ] `CTRL + K` — Clear the characters on the line after the current cursor position - [ ] `ESC + [backspace]` — Delete the word in front of the cursor - [ ] `CTRL + W` — Delete the word in front of the cursor - [ ] `ALT + D` — Delete the word after the cursor - [ ] `CTRL + R` — Search history - [ ] `CTRL + G` — Escape from search mode -
acamino revised this gist
Oct 4, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,7 +17,7 @@ - [ ] `CTRL + S` — Stop output to screen - [ ] `CTRL + Q` — Re-enable screen output - [ ] `CTRL + C` — Terminate/kill current foreground process - [ ] `CTRL + Z` — Suspend/stop current foreground process - [ ] `!!` — Execute last command in history - [ ] `!abc` — Execute last command in history beginning with abc - [ ] `!abc:p` — Print last command in history beginning with abc -
acamino created this gist
Oct 4, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,25 @@ ### Shortcut — Action - [ ] `CTRL + A` — Move to the beginning of the line - [ ] `CTRL + E` — Move to the end of the line - [ ] `CTRL + [left arrow]` — Move one word backward (on some systems this is ALT + B) - [ ] `CTRL + [right arrow]` — Move one word forward (on some systems this is ALT + F) - [ ] `CTRL + U` — (bash) Clear the characters on the line before the current cursor position - [ ] `CTRL + U` —(zsh) If you're using the zsh, this will clear the entire line - [ ] `CTRL + K` — Clear the characters on the line after the current cursor position - [ ] `ESC + [backspace]` — Delete the word in front of the cursor - [ ] `CTRL + WDelete the word in front of the cursor - [ ] `ALT + D` — Delete the word after the cursor - [ ] `CTRL + R` — Search history - [ ] `CTRL + G` — Escape from search mode - [ ] `CTRL + _` — Undo the last change - [ ] `CTRL + L` — Clear screen - [ ] `CTRL + S` — Stop output to screen - [ ] `CTRL + Q` — Re-enable screen output - [ ] `CTRL + C` — Terminate/kill current foreground process - [ ] `CTRL + ZSuspend/stop current foreground process - [ ] `!!` — Execute last command in history - [ ] `!abc` — Execute last command in history beginning with abc - [ ] `!abc:p` — Print last command in history beginning with abc **Source**: http://www.geekmind.net/2011/01/shortcuts-to-improve-your-bash-zsh.html This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ bindkey -e bindkey \^u backward-kill-line