2
I'm having trouble with gvim
and tabs. Using Ubuntu, there is the gedit
editor, which opens files in new tabs, but gvim
opens a new window for each file i open. I definitely prefer to have tabs, just like every other application I use. Having 5 gvim windows open simultenously overwhelms me.
So, is there any way to edit .gvimrc to make it open new files in new tabs instead of opening a new gvim window? I definitely prefer a .gvimrc solution over a Nautilus solution.
Thanks! I used the wrapper script method and it works perfectly! Using a wrapper script is more portable, as I can clone my dotfiles anywhere and tabbed gvim will then just work. – Tarrasch – 2011-09-13T08:32:38.987
For anyone having problems with the
gvim.desktop
method, try using this exec line:Exec=bash -c "gvim --remote-tab-silent %f || gvim"
. This makes the dash icon still work. Also, if you're getting a spinning cursor for a long time after opening gvim, setStartupNotify
totrue
. – nkorth – 2014-03-09T20:15:29.580