From 42712bc85a8d223b2d2dbb62668d8c68244c33bd Mon Sep 17 00:00:00 2001 From: lniwn Date: Thu, 28 May 2020 09:58:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.toml | 14 ++------------ content/posts/2018/Vim快捷键备忘录/index.md | 13 ++++++++++++- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/config.toml b/config.toml index e97681f..2b7d623 100644 --- a/config.toml +++ b/config.toml @@ -25,8 +25,8 @@ enableEmoji = true # Shorthand emojis in content files - https://gohugo.io/func # nofollowLinks = true [taxonomies] - tag = "tags" - category = "categories" + #tag = "tags" + #category = "categories" # Categories are disabled by default. [params] @@ -78,16 +78,6 @@ enableEmoji = true # Shorthand emojis in content files - https://gohugo.io/func url = "posts/" weight = 1 - [[menu.main]] - name = "Categories" - url = "categories/" - weight = 2 - - [[menu.main]] - name = "Tags" - url = "tags/" - weight = 3 - [[menu.main]] name = "About" url = "about/" diff --git a/content/posts/2018/Vim快捷键备忘录/index.md b/content/posts/2018/Vim快捷键备忘录/index.md index 6f00980..13ea9fd 100644 --- a/content/posts/2018/Vim快捷键备忘录/index.md +++ b/content/posts/2018/Vim快捷键备忘录/index.md @@ -127,7 +127,18 @@ Vim快捷键查询。 | viw,vaw | 选中光标所在单词(vaw包括前后空格) | | dtc, dfc | 删除到下一个字符c之前(之后) | - +## 寄存器 + +> 1. 匿名寄存器 `""` +> 2. 编号寄存器 `"0` 到 `"9` +> 3. 小删除寄存器 `"-` +> 4. 26 个命名寄存器 `"a` 到 `"z` +> 5. 3 个只读寄存器 `":`, `".`, `"%` +> 6. Buffer 交替文件寄存器 `"#` +> 7. 表达式寄存器 `"=` +> 8. 选区和拖放寄存器 `"*`, `"+`, `"~` +> 9. 黑洞寄存器 `"_` +> 10. 搜索模式寄存器 `"/` ## 在线文档 - [VIM QUICK REFERENCE CARD](http://tnerual.eriogerg.free.fr/vimqrc.pdf)