-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Description
Hello
When opening a file from the command line with code --wait --reuse-window <file>
, the command waits for the previously opened window to be closed before exiting. It is coherent with the use of --wait
without --reuse-window
but it is not very convenient.
One can want to reuse an existing window because it is faster than opening a new window. The small delay before the file has finished opened can be a little annoying when writing a commit message for example (if you don't use git or the upcoming SCM API).
One can also argue that it is easier to only close a tab than close the whole window : cmd+w instead of cmd+w cmd+w or cmd+shift+w on mac for example
Or maybe there could be a new command-line toggle instead of modifying the behaviour of --wait