我把mvim
移动到/usr/local/bin
,所以从终端输入mvim file.html
,MacVim将在新窗口中打开并打开文件file.html
。
但是如果我从终端打开另一个文件,它将会在另一个 MacVim 窗口中打开。
有没有可能在 MacVim 中将新文件作为新选项卡打开?
我目前的 MacVim 设置如下:
Open files from application: in the current window
with a tab for each file
但是只有在我从MacVim打开文件(而不是从终端运行 mvim
)时,才会在新标签页中打开新文件。