On Sat, Apr 25, 2015 at 12:42:04PM -0700, Tomas Sandven wrote: > When multiple separate gvim instances are running, there is no good > way to tell them apart (that I've found.) > > I suggest adding a command line argument so that gvim instances can be > launched > with different X roles: > > gvim --role=notepad > gvim --role=dev_proj1 > gvim --role=dev_proj2
This is already supported if you have a Gtk build of Vim. $ gvim --help … Arguments recognised by gvim (GTK+ version): -font <font> Use <font> for normal text (also: -fn) -geometry <geom> Use <geom> for initial geometry (also: -geom) -reverse Use reverse video (also: -rv) -display <display> Run vim on <display> (also: --display) --role <role> Set a unique role to identify the main window --socketid <xid> Open Vim inside another GTK widget --echo-wid Make gvim echo the Window ID on stdout Cheers, -- James GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <james...@jamessan.com> -- -- You received this message from the "vim_dev" 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 --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Digital signature