Sublime Text Handbook/ConceptIndex/AppOpenFileLoc

Overview

edit

Open any arbitrary file location in the editor, using either the File menu or using a specified path within an edit buffer.

Features

edit

Open with external process

edit
  • Using an external application or shell script, open the editor itself
    • Support for opening arbitrary file types as arguments to the editor itself

Open Actions

edit
  • Using the editor, open arbitrary file types
    • Open image files
    • Open any arbitrary file type, using the default application for that file type
    • Open an HTML file in the editor itself
    • Open an HTML file in the default system browser

Examples

edit
  • gf open in the same window ("goto file")
  • <c-w>f open in a new window (Ctrl-w f)
  • <c-w>gf open in a new tab (Ctrl-w gf)