diff --git a/package.json b/package.json index 2b0099b..00ec4e5 100644 --- a/package.json +++ b/package.json @@ -4143,23 +4143,23 @@ "group": "navigation@-99" }, { - "command": "gitlens.openRevisionFile", - "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && isInDiffLeftEditor", + "command": "gitlens.openWorkingFile", + "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/", "group": "navigation@-98" }, { - "command": "gitlens.openRevisionFileInDiffRight", - "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && isInDiffRightEditor", + "command": "gitlens.openWorkingFile", + "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme == git && !isInDiffEditor", "group": "navigation@-98" }, { - "command": "gitlens.openWorkingFile", - "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/", + "command": "gitlens.openRevisionFile", + "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && isInDiffLeftEditor", "group": "navigation@-97" }, { - "command": "gitlens.openWorkingFile", - "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme == git && !isInDiffEditor", + "command": "gitlens.openRevisionFileInDiffRight", + "when": "gitlens:activeFileStatus =~ /revision/ && resourceScheme =~ /^(?!(file|git)$).*$/ && isInDiffRightEditor", "group": "navigation@-97" }, {