GVim: Open in a new tab

10,618

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!

Share:
10,618

Related videos on Youtube

Rafid
Author by

Rafid

Software developer with passion. Started learning programming at around 10 years of age. Currently working @ AWS in Vancouver, British Columbia. Aside from my main job, I am trying to spend most of my free days developing my knowledge with Machine Learning. When I have time to spare, I enjoy reading mathematics and physics. When I am bored, I go for a walk or ride my bicycle (when Vancouver weather permits!)

Updated on June 04, 2022

Comments

  • Rafid
    Rafid almost 2 years

    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