Documentation
Keymaps & shortcuts

Keymaps for httui

httui is designed to be operated entirely from the keyboard, leveraging a set of intuitive keybindings that enhance your workflow and efficiency. Below is a detailed guide to the keymaps used in httui, along with a table for quick reference.

Overview

httui uses Vim-like keybindings, which means if you're familiar with Vim or similar modal editors, you'll find the navigation and operation to be quite intuitive. Keybindings are designed to facilitate quick actions and transitions within the application, making it efficient to manage HTTP requests and environments.

Detailed Keymaps

Here are the key bindings and their actions in httui:

  • /: Filter requests by name. Allows you to quickly find specific requests by typing parts of the request name.
  • ctrl + s: Change environments. This key combination lets you cycle through your defined environments, making it easy to switch contexts.
  • shift + s: Create a new environment. Initiates the process to define a new workspace environment.
  • ctrl + e: Open variables for editing. Brings up the variable editor where you can manage environment-specific variables.
  • a or c: Create a request or request group. Opens the interface for adding new requests or organizing existing ones into groups.
  • d: Delete request or request group. Removes the selected request or group, simplifying management.
  • shift + r: Edit request or request group. Allows you to modify the details of the existing requests or groups.
  • e: Execute the selected request. Sends the HTTP request and displays the response.
  • h or l: Navigate between groups or different panels. Moves the cursor left or right across the UI panels or request groups.
  • j or k: Move up or down. These keys allow you to navigate through the list of requests or groups.

Keymap Table

Here's a quick reference table of the keymaps used in httui:

KeyAction
/Filter requests by name
ctrl + sChange environments
shift + sCreate a new environment
ctrl + eOpen variables editor
a or cCreate request or request group
dDelete request or request group
shift + rEdit request or request group
eExecute request
h or lNavigate between groups/panels
j or kMove between requests or groups

These keybindings are integral to navigating and utilizing httui effectively. Familiarizing yourself with these shortcuts will significantly enhance your productivity and streamline your workflow while managing HTTP requests in your terminal environment.