Tuesday, November 15, 2011

Set GVim to open in tabs files launched by Unity

Hello all,

the default behavior on Ubuntu system is to launch text files in new tabs on an existing Gedit instance. I have always liked to use Gvim instead but keeping this same scenario, so I make some changes on the gvim.desktop file as suggested here vim.wikia.com/wiki/Launch_files_in_new_tabs_under_Unix.

This setting has worked ok for me back when my applications for launching files were basically nautilus and gnome-do, which still work up to now, but since the release of Unity which I use a lot, I cannot make it work smoothly with Gvim. It does work when launching files from Unity's Dash, but when I try to launch Gvim itself from Dash, it never opens. Also if there's a Gvim pinned to Unity as a Launcher, it is taken away from there by the time all tabs get closed.

Anyone?


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: