GVim: Open in a new tab

2020-06-18 04:17发布

I am using gVim on Windows and facing the annoying thing of having a new gVim window opened whenever I open a new file. Is it possible to make it open a new tab in the same window?

Thanks, Rafid

标签: windows vim
1条回答
劳资没心,怎么记你
2楼-- · 2020-06-18 04:49

Also (more tedious but generally useful for other things) you can drag&drop files from Windows Explorer into gVim when the command line is active. If you type :e and then drop a file, the command line will be filled out with the full path to the file. You can do the same with :sp and :tabe; just remember to put the space after the command!

查看更多
登录 后发表回答