Aim: when hitting F4 in GnomeCommander, the file will open in a new tab of the existing gvim instance:
Options1: visual:
- Open Gnome Commander => Settings => Options => Programs
- In the Edit text field put this:
gvim -p --remote-tab-silent %s
- Save and restart Gnome Commander – not always needed, but helps
Option 2: editing the settings file:
- The file to edit is ~/.gnome2/gnome-commander
- Find the line :editor=blablabla and change it to :
editor=gvim -p --remote-tab-silent %s
- Save and restart gnome-commander