Sublime Forum

Open document at given line number from command line

#1

I love sublime in Vintage mode, oh yes I do, but one of the few annoying things is I can’t pass a line number to the “subl” executable from the command line.

In Vim, all I need to do is enter vim test.php +240 and I the file pops into Vim with the cursor at line 240.

Anyone know if this is possible in sublime at the moment?

0 Likes

#2

ctrl+p
test.php:240

also you can do this:

test.php@

1 Like

#3

Incredible! Thanks so much for this!

0 Likes