显示Vim中间命令 [英] Display Vim intermediate commands
本文介绍了显示Vim中间命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在 vimtutor
第2.1课:DELETION COMMANDS,在#4项目后面有一个注释:
In vimtutor
Lesson 2.1: DELETION COMMANDS, there is a note after the #4 item:
在输入时,字母
d
将出现在屏幕的最后一行。 Vim正在等待您输入w
。如果你看到d
之外的另一个字符,你输入错误;请按< ESC>
并重新开始。
The letter
d
will appear on the last line of the screen as you type it. Vim is waiting for you to typew
. If you see another character thand
you typed something wrong; press<ESC>
and start over.
请参阅最后一行中的中间命令,如注释所述。如何启用此功能?我应该在 .vimrc
?
However, I do not see intermediate commands in the last line as the note says. How do I enable this? What option should I set in my .vimrc
?
推荐答案
使用
:set showcmd
这将在Vim中键入命令。
同样也可以放入.vimrc
That will display the commands as you type it in Vim. The same can also be put into .vimrc
这篇关于显示Vim中间命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文