Skip to content

POSTING 3 ~/guide/command_palette/

Command Palette

Overview

The command palette lists everything Posting can do, in one searchable place. Press Ctrl+P to open it, type a few letters of what you're looking for, and press Enter.

The command palette, with each command's shortcut alongside it.

The search is fuzzy, so exc finds Export as curl and lay finds the layout command. Where a command has a keyboard shortcut, it's shown on the right, so the palette is also a handy way to learn them.

Key Action
Up / Down (or Ctrl+P / Ctrl+N) Move through the list
Enter Run the command, or open its submenu
Esc Go back from a submenu, or close the palette

Some things can only be done from the palette, such as switching the layout or exporting a request.

Commands

Commands are grouped in the palette as follows. Some only appear when they apply, and a few change their name to say what they'll do, like Layout: side by side and Layout: stacked.

Requests and tabs

Command Shortcut Description
Send request Ctrl+J Send the request in the current tab
New request tab Ctrl+N Open a new, empty request
Save request Ctrl+S Save the request to the collection
Close request tab Alt+W Close the current tab
Keep tab open Keep the preview tab open when you open another request (only shown for the preview tab)
Search requests… Ctrl+G Search the collection
Go to open tab… Alt+Down Search your open tabs
Jump mode Ctrl+O Enter jump mode

Environment

Command Shortcut Description
Switch environment… Choose an environment, or No environment. See Switching environments
Variables Ctrl+Shift+V Open the variables screen
Load environment file… Use a .env file from anywhere

Request

Command Description
Duplicate request Save a copy beside this request
Delete request Remove this request's file from the collection
Copy response body Copy the response body to the clipboard
Copy header value / name / name and value Copy the row under the cursor in the response's Headers table. Only while that tab is showing. On the Cookies or Trailers tab, these copy a cookie or a trailer. See Headers
Reload collection Read the collection from disk again
Open gRPC stream Call the method and keep sending messages until you end the stream. Only for a gRPC request. Shows as End gRPC stream while a stream is open
Refresh gRPC methods Look for the server's methods again. Only for a gRPC request
Insert gRPC message template Replace the message with a template for the chosen method. Only for a gRPC request

Import and export

Command Description
Import curl command… Paste a curl command to load it into this tab. See Importing curl commands
Import curl from clipboard Import the curl command on your clipboard (over SSH, needs a terminal that lets apps read the clipboard)
Export as curl Copy the request as a curl command. See Exporting as curl. For a gRPC request, this is Export as grpcurl. See Exporting as grpcurl
Export as YAML Copy the request as a Posting request file

View

Command Shortcut Description
Layout: side by side / Layout: stacked Put the response beside or below the request
View: hide collection / View: show collection Ctrl+H Hide or show the sidebar
View: expand request Make the Request panel fill the screen
View: expand response Make the Response panel fill the screen
View: restore panels Alt+Z Show both panels again (only shown while one is expanded)
Theme… Choose a theme, previewing each as you go
Sidebar gradient… Follow the app theme, borrow another theme's gradient colours, or turn the gradient off. Preview each option as you go; Esc cancels the preview.

App

Command Shortcut Description
Clear history Delete every entry in history for this collection
Keyboard shortcuts F1 Show the keyboard shortcuts
Open documentation Open these docs in your browser
Quit Posting Ctrl+C Quit

Changes made from the View group and Theme… last until you quit. To make them permanent, set layout, theme and sidebar_gradient in your configuration.