1. open vim by following command
vim –servername good
Please type :sh to jump out out vim to command line.
- 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
0 意見:
張貼留言