mirror of
https://github.com/dongdigua/dongdigua.github.io
synced 2024-12-01 03:50:53 +08:00
51 lines
1.4 KiB
Org Mode
51 lines
1.4 KiB
Org Mode
#+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 | 创建表格 |
|
|
| | |
|
|
| | |
|
|
| | |
|