[英]How to clear previous commands before showing the result of :!command on VIM?
For example, if you use the following command on VIM: 例如,如果在VIM上使用以下命令:
:!ls
It will show the contents of the folder (as expected) plus the result of your previous commands. 它将显示文件夹的内容(按预期方式)以及先前命令的结果。 I want it to show only the last result.
我希望它仅显示最后的结果。 How?
怎么样?
单程:
:!clear && ls
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.