I like running gVim in a single instance, i.e. a single gui window with separate tabs for each file I'm editing.
I also run a linux desktop environment that has multiple desktop workspaces. E.g. GNOME, KDE or Xfce.
I would like to have a single instance of gVim per desktop workspace.
I currently alias gvim
to gvim --remote-tab-silent
. Unfortunately this create a single instance (gui window) which has tabs for all of the files open in gVim from all of my workspaces.
As each workspace I use is for a different git branch it's easy to get confused as to which branch a file I'm editing is in from.
gvim --remote-tab-silent --servername [Workspace name]
?