[英]Display Vim intermediate commands
In vimtutor
Lesson 2.1: DELETION COMMANDS, there is a note after the #4 item: 在
vimtutor
Lesson 2.1:DELETION COMMANDS中,#4项后面有一个注释:
The letter
d
will appear on the last line of the screen as you type it.键入时,字母
d
将出现在屏幕的最后一行。 Vim is waiting for you to typew
.Vim正在等你输入
w
。 If you see another character thand
you typed something wrong;如果你看到另一个性格比
d
你输入一些错误; press<ESC>
and start over.按
<ESC>
键重新开始。
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
? 我应该在
.vimrc
设置什么选项?
You can use 您可以使用
:set showcmd
That will display the commands as you type it in Vim. 这将在您在Vim中键入时显示命令。 The same can also be put into .vimrc
同样也可以放入.vimrc
This 'last line' is the line at bottom of screen. 这个“最后一行”是屏幕底部的一行。 If you don't see this you may have trouble with (Linux?) terminal setting.
如果你没有看到这个,你可能会遇到(Linux?)终端设置问题。
If you use terminal on Linux system, try to invoke command export TERM=Linux
before running Vim. 如果在Linux系统上使用终端,请在运行Vim之前尝试调用命令
export TERM=Linux
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.