1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-06 16:55:24 +02:00
tldr/pages/common/subl.md
2025-07-01 05:19:59 +02:00

24 lines
553 B
Markdown

# subl
> Sublime Text editor.
> More information: <https://www.sublimetext.com/docs/command_line.html>.
- Open the current directory in Sublime Text:
`subl .`
- 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}}`