Open files in gvim in new tabs

Aim: when hitting F4 in GnomeCommander, the file will open in a new tab of the existing gvim instance:
Options1: visual:

  1. Open Gnome Commander => Settings => Options => Programs
  2. In the Edit text field put this:
    gvim -p --remote-tab-silent %s
  3. Save and restart Gnome Commander – not always needed, but helps

Option 2: editing the settings file:

  1. The file to edit is ~/.gnome2/gnome-commander
  2. Find the line :editor=blablabla and change it to :
    editor=gvim -p --remote-tab-silent %s
  3. Save and restart gnome-commander

Posted

in

by

Tags: