I'm trying to switch from a mac dev environment to a linux dev environment, but I'm having a few problems. One of them is gvim. I would like to be able to double click a file in nautilus and then have gvim open it in a new tab. I already found how to open a file in a new tab here http://stackoverflow.com/questions/1323790/have-nautilus-open-file-into-new-gvim-buffer but it doesn't focus gvim yet.
Instead when I open a file unity 'wiggles' the gvim icon and I still have to alt-tab to it manually.
Is there a way to open a file in a new gvim tab and focus gvim at the same time? :)
Edit: I forgot to add that I'm using unity 2d on 11.10.