Terminal > More Features
Files, Links, & Scripts
Quickly open links and files or run scripts with your mouse.
Files & links
Section titled “Files & links”Warp supports opening files, folders, and URL links that are within Blocks. Multiple URL protocols are supported e.g. https, ftp, file, etc. Warp can open files and folders in a variety of editors and opens web links directly in your default browser. Warp can also open markdown files directly with a Markdown Viewer.
Warp parses relative and absolute file paths. Warp also tries to capture line and column numbers attached to the file path, supported formats include:
file_name:line_numfile_name:line_num:column_numfile_name[line_num, column_num]file_name(line_num, column_num)file_name, line: line_num, column: column_numfile_name, line: line_num, in
- After hovering over a link, open it directly by holding down
⌘while clicking it. - Clicking a link normally will open a clickable tooltip that says “Open File/Folder/Link”.
- Right-clicking a link will open a context menu that supports copying the absolute file path or URL to the clipboard.
- After hovering over a link, open it directly by holding down
Ctrlwhile clicking it. - Clicking a link normally will open a clickable tooltip that says “Open File/Folder/Link”.
- Right-clicking a link will open a context menu that supports copying the absolute file path or URL to the clipboard.
- After hovering over a link, open it directly by holding down
Ctrlwhile clicking it. - Clicking a link normally will open a clickable tooltip that says “Open File/Folder/Link”.
- Right-clicking a link will open a context menu that supports copying the absolute file path or URL to the clipboard.
- You can also Drag and drop a folder or file onto the Warp dock icon to open a new tab in this directory.
- You can also right-click on a folder or file in Finder, then select Services, and “Open new Warp Tab | Window here”.
- Configure the default editor to open files by navigating to Settings > Code > Editor and Code Review > Choose an editor to open file links.
- Selecting “Default App” uses your system’s default application for the file type.
List of supported editors
Section titled “List of supported editors”Non-exhaustive list of editors, please submit new ones on our GitHub, see Sending Feedback.
$EDITOR- Visual Studio Code
- JetBrains IDEs
- WebStorm
- PhpStorm
- GoLand
- PyCharm
- DataGrip
- DataSpell
- Rider
- RubyMine
- Zed and Zed Preview
- Cursor
- Windsurf
- Sublime Text
- Android Studio
OSC 8 hyperlinks
Section titled “OSC 8 hyperlinks”Warp recognizes the OSC 8 escape sequence, so command-line tools can print a short label that links to a longer URL instead of printing the raw URL. When a program emits an OSC 8 hyperlink, Warp renders only the visible text and makes it clickable, the same way it treats auto-detected URLs:
- Hold
⌘(macOS) orCtrl(Windows/Linux) and click the linked text to open it. - Copying the block copies the visible text, not the escape sequence or the underlying URL.
Any URL scheme works, including file:// URLs without a hostname. To try it, print a hyperlink from your shell:
printf '\033]8;;https://docs.warp.dev\033\\Warp docs\033]8;;\033\\\n'The output shows Warp docs as a clickable link. Plain-text URL detection still works, so tools that print full URLs behave as before.
Scripts
Section titled “Scripts”Warp can open .command and Unix Executable files from Finder directly.
- Find a
.commandor shell script you’d like to open in Finder. - Right-click and open the script with Warp.