类型
:h 命令行编辑
了解详情.我列出了一些有趣的非箭头命令,它们的作用类似于您想要的.
for details. I am listing a few of the interesting non-arrow commands that do something similar to what you want.
-
ctrl-B:光标到命令行的开头
-
ctrl-E:光标到命令行结束
-
ctrl-W:删除光标前的单词
-
ctrl-U:删除光标位置和行首之间的所有字符
-
ctrl-B: cursor to beginning of command-line
-
ctrl-E: cursor to end of command-line
-
ctrl-W: delete the word before the cursor
-
ctrl-U: remove all characters between the cursor position and the beginning of the line