Options (2)
-a, --addbooleanOpen a file or directory in the currently open window
Example:
subl {{[-a|--add]}} {{path/to/file_or_directory}}-n, --new-windowbooleanOpen a file or directory in a new window
Example:
subl {{[-n|--new-window]}} {{path/to/file_or_directory}}Examples (5)
Open the current directory in Sublime Text
subl .Open a file or directory in Sublime Text
subl path/to/file_or_directoryOpen a file and jump to a specific line number
subl path/to/file:line_numberOpen a file or directory in the currently open window
subl [-a|--add] path/to/file_or_directoryOpen a file or directory in a new window
subl [-n|--new-window] path/to/file_or_directorymade by @shridhargupta | data from tldr-pages