-
-
Save elrrrrrrr/a04cfd198a2ea25e7e9c to your computer and use it in GitHub Desktop.
vim 插入模式快捷键
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*Q_ss* 插入模式特殊键 | |
|i_CTRL-V| CTRL-V {char}.. 按本义插入字符,或插入十进制数的字节值 | |
|i_<NL>| <NL> 或 <CR> 或 CTRL-M 或 CTRL-J | |
开始新行 | |
|i_CTRL-E| CTRL-E 插入光标下方的字符 | |
|i_CTRL-Y| CTRL-Y 插入光标上方的字符 | |
|i_CTRL-A| CTRL-A 插入上次插入的文本 | |
|i_CTRL-@| CTRL-@ 插入上次插入的文本并结束 | |
插入模式 | |
|i_CTRL-R| CTRL-R {0-9a-z%#:.-="} 插入寄存器的内容 | |
|i_CTRL-N| CTRL-N 将下一个匹配的标识符插入光标前 | |
|i_CTRL-P| CTRL-P 将上一个匹配的标识符插入光标前 | |
|i_CTRL-X| CTRL-X ... 以各种方式补全光标前的单词 | |
|i_<BS>| <BS> 或 CTRL-H 删除光标前的一个字符 | |
|i_<Del>| <Del> 删除光标下的一个字符 | |
|i_CTRL-W| CTRL-W 删除光标前的一个单词 | |
|i_CTRL-U| CTRL-U 删除当前行的所有字符 | |
|i_CTRL-T| CTRL-T 在当前行首插入一个移位宽度的缩进 | |
|i_CTRL-D| CTRL-D 从当前行首删除一个移位宽度的缩进 | |
|i_0_CTRL-D| 0 CTRL-D 删除当前行的所有缩进 | |
|i_^_CTRL-D| ^ CTRL-D 删除当前行的所有缩进,恢复下一行的缩进 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment