From e553be01fc3533dfd26226e1323e3223e1bff113 Mon Sep 17 00:00:00 2001 From: I-Man Ng Date: Thu, 9 May 2019 15:36:03 +0800 Subject: [PATCH] Add terminal tricks Ctrl shortcuts --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 7f6d1cd..5479404 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ Here's a more stylish version of [Bash-Oneliner](http://onceupon.github.io/Bash- Ctrl + n : same as Down arrow. Ctrl + p : same as Up arrow. Ctrl + r : begins a backward search through cammand history.(keep pressing Ctrl + r to move backward) +Ctrl + l : Clear the terminal Ctrl + s : to stop output to terminal. Ctrl + q : to resume output to terminal after Ctrl + s. Ctrl + a : move to the beginning of line. @@ -43,6 +44,8 @@ Ctrl + d : if you've type something, Ctrl + d deletes the character under the cu Ctrl + k : delete all text from the cursor to the end of line. Ctrl + x + backspace : delete all text from the beginning of line to the cursor. Ctrl + t : transpose the character before the cursor with the one under the cursor, press Esc + t to transposes the two words before the cursor. +Ctrl + w : delete the word before the cursor. +Ctrl + u : delete the line before the cursor. Ctrl + x + Ctrl + e : launch editor define by $EDITOR ``` ##### Change case