Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在终端的 macvim 会话中执行 :sh 来做一些快速的事情。当我在 GUI 应用程序中(不在终端中)时,它可以完美运行。但是,当我在终端中运行它时,它会退出 macvim,并在常规终端中执行命令。
我怎样才能防止这种情况,并让它像 GUI 版本一样执行?
shell 作为vim. 只需退出 shell,您应该返回vim会话。
vim