Allow use of ctrl+p/ctrl+n to navigate request switcher #4538
Replies: 2 comments
|
For anyone interested, we discussed this today on the stream: https://youtu.be/5oY1Et7RR1g?t=3662 I certainly agree that if this is something super common in MacOS that we should consider trying to support it, however the main issue is that our keyboard system is not context aware. On the stream we looked at the approach vscode uses (https://youtu.be/5oY1Et7RR1g?t=4843) where they give some context to the shortcuts to make sure that the same shortcut can be used for different parts of the application for different reasons. For this to work in insomnia, we'd need to do something similar. |
|
By the way, if we do end up with an API for keyboard context, I'd suggest a list of conditions with an object for each key such that if any of the conditions pass, the keystroke is executed. For example, instead of {
"shortcut": "ctrl+p",
"conditions": "inWorkspace || !modalOpen"
}I would suggest something like {
"shortcut": "ctrl+p",
"conditions": [
{ "inWorkspace": true },
{ "modalOpen": false },
]
} |
Uh oh!
There was an error while loading. Please reload this page.
This discussion began on #4520, by @akivajgordon, which originally stated
All reactions