Improve startup behaviour and commandline options so that subl can replace system text editor.

Emanuele D'Osualdo il y a 8 ans mis à jour il y a 8 ans 2
It would be useful to have a way to ask Subl to just display the file passed in the commandline and ignore for the moment the setting for reopening files etc. A switch to ask it to act just as gedit would do.
Currently with a slightly old version of GTK in Linux Sublime Text wont detect it is already running when launched. This has many side effects as duplicating all the windows if launched twice. Such a switch could help in that situation too.

a la this link http://www.sublimetext.com/docs/2/osx_command_line.html

OS X Sublime Text uses a binary and a "start in new window" switch "-w"

which enables the editor to be used in an ad hoc mode.

Yes I am aware of the switch. Unfortunately this does not work in systems running Linux with slightly older versions of GTK, which is the problem I would like to solve.