MacVim Open File In Existing Window

前端 未结 7 1058
我在风中等你
我在风中等你 2020-12-23 02:20

Is there a way to set up MacVim to open a new file in the current window in a running MacVim instance? I currently have the MacVim preference \"Open new files in a new tab i

相关标签:
7条回答
  • 2020-12-23 02:48

    I personally use a command like this, after seeing everything here and resorting to experimenting with what

    mvim --help 
    

    turned up.

    I found that

    mvim --remote-tab-silent foo.txt
    

    worked for me and then I soon added an alias to my .profile. Yes, it barfs if you don't feed it a file after the option, but who opens a blank file with no name anyway?

    0 讨论(0)
提交回复
热议问题