Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GVim: Open in a new tab

Tags:

vim

windows

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

like image 799
Rafid Avatar asked Aug 26 '10 11:08

Rafid


1 Answers

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!

like image 151
dash-tom-bang Avatar answered Oct 18 '22 01:10

dash-tom-bang