Skip to content

Hotkeys for common actions #446

@kwerber

Description

@kwerber

Is your feature request related to a problem? Please describe.

Currently we have only implemented a single hotkey for saving the currently selected request. It would be great to have additional hotkeys for other common actions.

Describe the solution you'd like

We should implement additional hotkeys for the following actions:

  • CTRL + Enter to send the currently selected request
  • CTRL + PageUp to navigate upwards in the sidebar (selecting the next request above the currently selected one)
  • CTRL + PageDown to navigate downwards in the sidebar
  • CTRL + N to create a new request object and to add it at the root level in the current collection
  • CTRL + 1 to open the first tab in the request section (Body)
  • CTRL + 2 to open the second tab in the request section (Params)
  • CTRL + 3 to open the third tab in the request section (Headers)
  • CTRL + 4 to open the fourth tab in the request section (Auth)
  • CTRL + 5 to open the first tab in the response section (Response Body)
  • CTRL + 6 to open the second tab in the response section (Headers)

Describe alternatives you've considered

The current alternative is to use the mouse to click on the UI for each action. Using a hotkey can sometimes be quicker and makes the interaction with trufos more convenient.

Additional context

Replace CTRL with Cmd for MacOS.

Metadata

Metadata

Assignees

Labels

frontendFrontend related task

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions