Sublime Forum

Sublime does not open files whose names contain spaces (Linu

#1

From the command line (Bash), ST2 will not properly open a file whose name contains spaces. Instead, it opens one file per space-delimited word. For example, the following

sublime_text "some file name.txt"

will result in ST2 opening separate tabs for “some”, “file”, and “name.txt”. This also happens when escaping the spaces instead of using quites:

sublime_text some\ file\ name.txt

This occurs in the current stable build,2139, and in all prior builds that I have used.

Thoughts?

0 Likes

#2

I have seen this as well.

0 Likes

#3

Sublime Text opens files with spaces in their names just fine. Please check you are launching via a symlink, rather than a shell script that may not quote the arguments correctly.

0 Likes