Sublime Forum

Command Line Start (OSX)

#1

Two issues.

Let’s say I’ve been editing files in ~/short/path/ and I quit. Next day I change to ~/a/longer/path/to/data where I launch subl like this:

$> subl filea fileb

The application opens with tabs for filea, fileb and every file I had open the previous day.

What can I set to only open files that I specify on the command line?

Second issue, I see I can open a file with a :line or :line:col. Is there a way to open the file on the last line without knowing the number?

Thanks for the product and keep up the good work.

0 Likes