Skip to content

Instantly share code, notes, and snippets.

@pedrorvidal
Last active August 29, 2015 13:58
Show Gist options
  • Select an option

  • Save pedrorvidal/10277672 to your computer and use it in GitHub Desktop.

Select an option

Save pedrorvidal/10277672 to your computer and use it in GitHub Desktop.
Abre arquivos no Vim SEMPRE em abas.
#In the gvim.desktop desktop file (/usr/share/applications/ for most GNU/Linux systems) look for the "Exec" line. It will probably be like this:
#Look for this line
Exec=gvim -f %F
#Change the Exec line to:
Exec=gvim -p --remote-tab-silent %F
#IMPORTANT
#You may also need to change the StartupNotify value to "false" if it is currently set "true", or your Vim may not respond properly when the file is already open in a tab.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment