【发布时间】:2013-08-20 11:56:37
【问题描述】:
我正在使用 macOS 终端应用程序。当我退出 vim 时,我正在编辑的文件的文本仍保留在我的屏幕上,并与我之前输入的命令重叠,所以我看不到我之前的任何命令。如何更改此行为以便查看我之前的命令?
我找到了这篇文章
How can I stop VI from overlapping and hiding the last page of command line output?
但我没有看到altscreen 命令。
【问题讨论】:
-
altscreen是一个 GNU 屏幕命令,应该可用于 OSX。尝试在终端输入screen。 -
感谢 Thor,我现在正在做“人屏”,看看它能做什么。