From 65570bd1331257079cf3c74f0859199618fdffea Mon Sep 17 00:00:00 2001 From: kasecato Date: Fri, 23 Feb 2024 15:58:07 +0900 Subject: [PATCH] Fix #229 that cmd+up jump to navigation bar in mac --- package.json | 6 +++--- src/package-with-comment.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index a9c706e..c8e57c7 100644 --- a/package.json +++ b/package.json @@ -1585,10 +1585,10 @@ }, { "key": "alt+[Home]", - "mac": "alt+[Home]", - "command": "breadcrumbs.focus", + "mac": "cmd+[ArrowUp]", + "command": "breadcrumbs.focusAndSelect", "intellij": "Jump to Navigation Bar", - "when": "breadcrumbsPossible" + "when": "breadcrumbsPossible && breadcrumbsVisible" }, { "key": "shift+ctrl+c", diff --git a/src/package-with-comment.json b/src/package-with-comment.json index 14ce0ca..ad5691f 100644 --- a/src/package-with-comment.json +++ b/src/package-with-comment.json @@ -2031,10 +2031,10 @@ }, { "key": "alt+[Home]", - "mac": "alt+[Home]", - "command": "breadcrumbs.focus", + "mac": "cmd+[ArrowUp]", + "command": "breadcrumbs.focusAndSelect", "intellij": "Jump to Navigation Bar", - "when": "breadcrumbsPossible" + "when": "breadcrumbsPossible && breadcrumbsVisible" }, { "key": "shift+ctrl+c",