[英]I want to open vim and see my “:” commands from a previous session. Is that possible?
When i open a file in vim I usually press, by reflex, the colon to see a list of previous commands, but its empty. 当我在vim中打开一个文件时,我通常会通过反射按冒号来查看以前命令的列表,但它是空的。 How can I get my previous command history. 如何获取我之前的命令历史记录。
:history
应该做你想要的。
q:
would be better. q:
会更好。 it will display a list of commands, and you can press j
or k
for motion,then enter
to run a selected one. 它将显示一个命令列表,您可以按j
或k
进行运动,然后enter
以运行选定的一个。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.