From dcbf3ad65ae97292fcfc90f5ecaf97861d73cfc9 Mon Sep 17 00:00:00 2001 From: miles Date: Fri, 13 Nov 2020 17:59:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E4=B8=80=E4=BA=9Bvi?= =?UTF-8?q?m=E7=9A=84=E6=93=8D=E4=BD=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 06f2dc0..60e406c 100644 --- a/README.md +++ b/README.md @@ -37,9 +37,24 @@ S-O |insert a new line above| 0 |go to the beginning of the line| $ |go to the end of the line| v |enter character selection mode| +x |delete selected content| V |enter line selection mode| y |copy selected content| p |paste copied content| +Ctrl+u |page up| +Ctrl+d |page down| +:w |save file| +:q |quit vim| +/ keyword|search| +n |go to the next content| +S-N |go to the previous content| +w |move forward one word| +b |move back one word| +gg |move to the top of the file| +S-G |move to the bottom of the file| +Ctrl+\ |show(hide) the Buffers| +[spc] c l|(un)comment the selected line| +%s key1/key2/g|replace Key1 with Key2| #### vim && markdown * Install `prettier`: `yarn global add prettier` or `npm install --global prettier`