Forrest logo
tool overview
On this page you find all important commands for the CLI tool subl. If the command you are looking for is missing please ask our AI.

subl

Subl is a command line tool that is used to invoke the Sublime Text editor from the terminal. It facilitates quick and efficient navigation and editing of files and directories. Subl can be used to open files and directories directly from the command line. The tool offers a variety of options, such as opening a file at a particular line, opening multiple files at once, or opening a file in a new tab or window. It provides a seamless integration with the Sublime Text editor, enabling users to leverage its powerful features and capabilities. With subl, users can easily switch between the terminal and Sublime Text, minimizing the need to navigate through file explorers or use the graphical user interface. Subl supports various operating systems, including macOS, Linux, and Windows. It can be customized to suit individual preferences by modifying the corresponding configuration files. The tool allows for efficient editing and navigation through keyboard shortcuts and commands. Subl is a popular choice among developers and programmers for its simplicity and ability to streamline the editing process.

List of commands for subl:

  • subl:tldr:69db2 subl: Open the current directory in Sublime Text.
    $ subl ${-}
    try on your machine
    explain this command
  • subl:tldr:92d53 subl: Open a file or directory in the currently open window.
    $ subl -a ${filename}
    try on your machine
    explain this command
  • subl:tldr:cc4a6 subl: Open a file and jump to a specific line number.
    $ subl ${filename}:${line_number}
    try on your machine
    explain this command
  • subl:tldr:fa944 subl: Open a file or directory in a new window.
    $ subl -n ${filename}
    try on your machine
    explain this command
tool overview