2025-03-14 21:59:59 -06:00
|
|
|
# subl
|
|
|
|
|
|
|
|
|
|
> Sublime Text editor.
|
2025-07-24 22:27:13 -06:00
|
|
|
> More information: <https://www.sublimetext.com/docs/command_line.html>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Open the current directory in Sublime Text:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`subl .`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- 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:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`subl {{[-a|--add]}} {{path/to/file_or_directory}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Open a file or directory in a new window:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`subl {{[-n|--new-window]}} {{path/to/file_or_directory}}`
|