commands.sh

subl

all

Sublime Text editor.

More info →

Options (2)

-a, --addboolean

Open a file or directory in the currently open window

Example: subl {{[-a|--add]}} {{path/to/file_or_directory}}
-n, --new-windowboolean

Open 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

Open a file or directory in Sublime Text

subl path/to/file_or_directory

Open a file and jump to a specific line number

subl path/to/file:line_number

Open a file or directory in the currently open window

subl [-a|--add] path/to/file_or_directory

Open a file or directory in a new window

subl [-n|--new-window] path/to/file_or_directory
made by @shridhargupta | data from tldr-pages