On Mon, 2009-02-16 at 10:32 -0800, yvonne wrote: > Turn out that half my problem was having ONLY a ~/.vimrc > I also need a ~/.gvimrc > > So, tabs no problem. > Getting a single instance to work is proving WAY more difficult. > > Tried lots of things found via google. > > Anyone have a clue as to how to get gvim to load whatever I ckick on > INTO a new tab an as a simgle instance of gvim...without loading > itself up again. > > > ??? > thanks for reading! > > > > > Exec=gvim -p --remote-tab-silent %F > > > > and still have : tab all in my ~/.vimrc though hav additionally > > added tab all to the /et/vimrc file which was empty. Likely due to my > > moving the original one that was there. > > > > I'll keep trying and reboot etc. though I'm still not clear that I've > > got it right. Or, what else may be happening... > > > > Great assist though Bill ... looking forward to success... and bill > > the cream lead could well help someone for sure..! > >
create an executable shell script in your path ala... rthom...@raker ~/bin $ cat vimtab gvim --remote-tab-silent $* for each filetype that you want to open in vimtab, in nautilus, right click on the file, select properties, select open with, select vimtab ( the first file you do this for, you will have to add vimtab to the list of selections -- click on the Add button, click on use a custom command and put in the path to vimtab ). At this point, any filetype that you double click on that has been associated with vimtab will open in the same instance of vim ( or at least it does on my system ). you may also be interested in http://piao-tech.blogspot.com/2008/10/open-new-files-as-tabs-in-current-vim.html reid --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
