added cheetsheet

This commit is contained in:
dongdigua 2022-07-13 13:55:27 +08:00
parent 80d63f8a0c
commit 20e01ad989
3 changed files with 55 additions and 0 deletions

50
cheatsheet.org Normal file
View File

@ -0,0 +1,50 @@
#+STARTUP: indent
* VIM
** deletion
| key | usage |
|-------+------------------------|
| x | 删除光标所在处单词 |
| de | 删除到本单词末尾 |
| db | 删除到前一个单词 |
| d$ | 删除光标位置到本行结束 |
| d0 | 删除光标位置到本行开头 |
| u/C-r | 撤销/重做 |
| | |
** movement
| key | usage |
|---------+----------------------------|
| w | 下一个单词 |
| e | 单词尾 |
| 0/$ | 行首/尾 |
| H/M/L | 当前页面可见顶部/中间/底部 |
| <num> G | 跳转到第几行 |
** visual
| key | usage | next |
|-----+--------------+------------------------|
| V | 行选择 | |
| C-v | 矩形区域选择 | S-i 插入, esc 批量执行 |
| v | | movement |
| | | |
** file/split
| key | usage |
|-------------+--------------|
| :n/:N | 文件之间切换 |
| :b | 切换到文件 |
| C-w h/j/k/l | 切换分屏窗口 |
| ZZ | :wq |
* EMACS
** org-mode
| key | usage |
|-----------+----------|
| C-c \vbar | 创建表格 |
| | |
| | |
| | |

View File

@ -9,6 +9,7 @@ Minecraft 红石玩家, [B站](https://space.bilibili.com/489732092)<br>
[博客, YouTube 等收集](internet_collections)<br> [博客, YouTube 等收集](internet_collections)<br>
[我对 SciCraft 更新1.19的看法](scicraft_update)<br> [我对 SciCraft 更新1.19的看法](scicraft_update)<br>
[我的 gnome 配置](my_gnome_configt)<br> [我的 gnome 配置](my_gnome_configt)<br>
[编辑器操作备忘录](cheetsheet)<br>
<!-- <!--
[对我将来的视频网站的一些畅想](plan_for_my_video_site)<br> [对我将来的视频网站的一些畅想](plan_for_my_video_site)<br>
--> -->

View File

@ -21,3 +21,7 @@
- 0:45 "s64 vs i64, fight" - 0:45 "s64 vs i64, fight"
- 0:50 [boost integer](https://theboostcpplibraries.com/boost.integer) - 0:50 [boost integer](https://theboostcpplibraries.com/boost.integer)
- 0:55 `#include <stdurmom.h>` - 0:55 `#include <stdurmom.h>`
- 3:35 calculating pi
- 3:43 refer to forth
- 4:00 step debug
- 4:14 swap relative address like dup