2018-09-22 11:40:15 +01:00
|
|
|
# subl
|
|
|
|
|
|
|
|
> Sublime Text editor.
|
2019-06-03 01:06:36 +01:00
|
|
|
> More information: <https://www.sublimetext.com>.
|
2018-09-22 11:40:15 +01:00
|
|
|
|
|
|
|
- Open the current directory in Sublime Text:
|
|
|
|
|
|
|
|
`subl {{.}}`
|
|
|
|
|
|
|
|
- Open a file or directory in Sublime Text:
|
|
|
|
|
2019-02-08 00:28:43 +00:00
|
|
|
`subl {{path/to/file_or_directory}}`
|
2018-09-22 11:40:15 +01:00
|
|
|
|
2019-01-03 15:30:45 +00:00
|
|
|
- Open a file and jump to a specific line number:
|
|
|
|
|
|
|
|
`subl {{path/to/file}}:{{line_number}}`
|
|
|
|
|
2018-09-22 11:40:15 +01:00
|
|
|
- Open a file or directory in the currently open window:
|
|
|
|
|
|
|
|
`subl -a {{path/to/file}}`
|
|
|
|
|
|
|
|
- Open a file or directory in a new window:
|
|
|
|
|
|
|
|
`subl -n {{path/to/file}}`
|