Sublime Text Handbook/ConceptIndex/AppOpenFileLoc

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Overview[edit | edit source]

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

Features[edit | edit source]

Open with external process[edit | edit source]

  • 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 | edit source]

  • 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 | edit source]

Vim[edit | edit source]

  • 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)