Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

feat: update keyboard shortcut to navigate to profile page (#2573)

Anwarul Islam017cbb5a7132
diff --git a/packages/hoppscotch-app/helpers/keybindings.ts b/packages/hoppscotch-app/helpers/keybindings.ts
index 5a3473b90..c636b1c81 100644
--- a/packages/hoppscotch-app/helpers/keybindings.ts
+++ b/packages/hoppscotch-app/helpers/keybindings.ts
@@ -56,6 +56,7 @@ export const bindings: {
"alt-q": "navigation.jump.graphql",
"alt-w": "navigation.jump.realtime",
"alt-d": "navigation.jump.documentation",
+ "alt-m": "navigation.jump.profile",
"alt-s": "navigation.jump.settings",
}
diff --git a/packages/hoppscotch-app/helpers/shortcuts.js b/packages/hoppscotch-app/helpers/shortcuts.js
index f9398bf1c..f18f34a11 100644
--- a/packages/hoppscotch-app/helpers/shortcuts.js
+++ b/packages/hoppscotch-app/helpers/shortcuts.js
@@ -103,7 +103,7 @@ export default [
label: "shortcut.navigation.settings",
},
{
- keys: [getPlatformAlternateKey(), "P"],
+ keys: [getPlatformAlternateKey(), "M"],
label: "shortcut.navigation.profile",
},
],
@@ -171,7 +171,7 @@ export const spotlight = [
icon: "arrow-right",
},
{
- keys: [getPlatformAlternateKey(), "P"],
+ keys: [getPlatformAlternateKey(), "M"],
label: "shortcut.navigation.profile",
action: "navigation.jump.profile",
icon: "arrow-right",
@@ -267,7 +267,7 @@ export const fuse = [
tags: ["settings", "jump", "page", "navigation", "account", "theme", "go"],
},
{
- keys: [getPlatformAlternateKey(), "P"],
+ keys: [getPlatformAlternateKey(), "M"],
label: "shortcut.navigation.profile",
action: "navigation.jump.profile",
icon: "arrow-right",