Command palette
Open files, create files, and run commands from the keyboard with Cmd/Ctrl+K.
The command palette is the fastest way to move around Worktray without reaching for the mouse. Use it to jump to a file, create a new one, or run a command.
Open the palette
Section titled “Open the palette”Press Cmd+K on Mac, or Ctrl+K on Windows and Linux. You can also click the + button in the left rail.
The shortcut works from anywhere — including while your cursor is inside an editor or another text field — so it doubles as a quick switcher. Press Esc to close it.
Find and open a file
Section titled “Find and open a file”Start typing part of a filename. The palette searches the active tray, matching both the file’s name and its folder path, and bolds the part of each result that matched what you typed.
- Use the arrow keys to move through the results.
- Press Enter to open the highlighted file.
Create a file
Section titled “Create a file”Type a filename that includes an extension and a Create row appears. Press Enter on it to create the file in the active tray.
notes.mdcreates a Markdown file.api/request.curlcreatesrequest.curlinside anapifolder, creating the folder if needed.
The extension selects which editor opens the file — see Getting started and the Editors overview. The Create row is hidden when a file already exists at that exact path.
Run a command
Section titled “Run a command”Type > to switch the palette into command mode, then filter the list by typing part of a command name. Press Enter to run the highlighted command.
Available commands depend on where you’re running Worktray:
| Command | Where |
|---|---|
| New file | Web and Mac |
| Import files… | Web and Mac |
| Import a folder… | Web and Mac |
| Open folder… | Mac |
| Install the “worktray” command line tool | Mac |
The Open folder… command opens a folder from disk as a folder-backed tray, and Install the “worktray” command line tool sets up the terminal command described in the worktray command line tool.