From dd9ff8cdfa7e545e23df08cc78c80f4edcd21227 Mon Sep 17 00:00:00 2001 From: Will Riches Date: Sun, 15 Nov 2020 21:14:36 +0000 Subject: [PATCH 1/3] Update for consistency --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 9d86c28..63f71cc 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Nice visual cheatsheet from the [article](https://clementc.github.io/blog/2018/0 Ctrl + e -Go to the End of the line (End) +Go to the end of the line (End) Alt + b @@ -25,14 +25,14 @@ Nice visual cheatsheet from the [article](https://clementc.github.io/blog/2018/0 Forward (right) one word -Ctrl + f -Forward one character - - Ctrl + b Backward one character +Ctrl + f +Forward one character + + Ctrl + xx Toggle between the start of line and current cursor position @@ -46,11 +46,11 @@ Nice visual cheatsheet from the [article](https://clementc.github.io/blog/2018/0 Alt + Del -Delete the Word before the cursor +Delete the word before the cursor Alt + d -Delete the Word after the cursor +Delete the word after the cursor Ctrl + d @@ -62,11 +62,11 @@ Nice visual cheatsheet from the [article](https://clementc.github.io/blog/2018/0 Ctrl + w -Cut the Word before the cursor to the clipboard +Cut the word before the cursor to the clipboard Ctrl + k -Cut the Line after the cursor to the clipboard +Cut the line after the cursor to the clipboard Alt + t From 66595ad32732f73671d0a3472636b88ea10c0c59 Mon Sep 17 00:00:00 2001 From: Will Riches Date: Sun, 15 Nov 2020 21:17:05 +0000 Subject: [PATCH 2/3] Clarify that these cut to the clipboard --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 63f71cc..4d31213 100644 --- a/README.md +++ b/README.md @@ -46,11 +46,11 @@ Nice visual cheatsheet from the [article](https://clementc.github.io/blog/2018/0 Alt + Del -Delete the word before the cursor +Cut the word (or part of word) before the cursor to the clipboard Alt + d -Delete the word after the cursor +Cut the word (or part of word) after the cursor to the clipboard Ctrl + d From 2f69fdd3d009a5ef2ce1203fec828495cdeb41df Mon Sep 17 00:00:00 2001 From: Will Riches Date: Sun, 15 Nov 2020 21:20:06 +0000 Subject: [PATCH 3/3] Split tables up for clarity --- README.md | 44 ++++++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 4d31213..75497bd 100644 --- a/README.md +++ b/README.md @@ -45,14 +45,6 @@ Nice visual cheatsheet from the [article](https://clementc.github.io/blog/2018/0 Cut the line before the cursor position -Alt + Del -Cut the word (or part of word) before the cursor to the clipboard - - -Alt + d -Cut the word (or part of word) after the cursor to the clipboard - - Ctrl + d Delete character under the cursor @@ -61,14 +53,6 @@ Nice visual cheatsheet from the [article](https://clementc.github.io/blog/2018/0 Delete character before the cursor (backspace) -Ctrl + w -Cut the word before the cursor to the clipboard - - -Ctrl + k -Cut the line after the cursor to the clipboard - - Alt + t Swap current word with previous @@ -81,10 +65,6 @@ Nice visual cheatsheet from the [article](https://clementc.github.io/blog/2018/0 Swap the last two words before the cursor. -Ctrl + y -Paste the last thing to be cut (yank) - - Alt + u UPPER capitalize every character from the cursor to the end of the current word. @@ -106,6 +86,30 @@ Nice visual cheatsheet from the [article](https://clementc.github.io/blog/2018/0 +### Cut and paste (kill and yank) + + + + + + + + + + + + + + + + + + + + + +
Alt + DelCut the word (or part of word) before the cursor to the clipboard
Alt + dCut the word (or part of word) after the cursor to the clipboard
Ctrl + wCut to the previous whitespace before the cursor to the clipboard
Ctrl + kCut the line after the cursor to the clipboard
Ctrl + yPaste the last thing to be cut (yank)
+ ### History