subl

subl

TLDR

Open the current directory in Sublime Text

$ subl [.]
copy


Open a file or directory in Sublime Text
$ subl [path/to/file_or_directory]
copy


Open a file and jump to a specific line number
$ subl [path/to/file]:[line_number]
copy


Open a file or directory in the currently open window
$ subl -a [path/to/file]
copy


Open a file or directory in a new window
$ subl -n [path/to/file]
copy

Copied to clipboard