2014年9月16日 星期二

[VIM] Using command to open file in tab at the same vim editor


1. open vim by following command

vim –servername good

Please type :sh to jump out out vim to command line.


  1. open happy.c in the tab at the same vim (good)

    vim –servername good –remote-tab happy.c


please type exit to exit the command line, and jump into vim editor.

And will see the happy.c already open in the tab.

Reference:

1. Open files in existing Gvim in multiple (new) tabs

Related Posts:

0 意見:

張貼留言