Added support for gedit

Using command line options:
* -w (Open files and block the gedit process)
* --new-window (Create a new toplevel window)
This commit is contained in:
Peter Ruibal 2015-01-10 20:45:27 -08:00
parent 561996958b
commit bc0f61f7c4
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,9 @@ def get_editor_args(editor):
elif editor == 'emacs':
return '-nw'
elif editor == 'gedit':
return '-w --new-window'
else:
return ''