only override cmd+shift+enter/backspae when diff visible

This commit is contained in:
Nate 2024-11-14 08:48:44 -08:00
parent 9ff547ec37
commit 39a8e158cf
2 changed files with 6 additions and 4 deletions

View file

@ -1,12 +1,12 @@
{
"name": "continue",
"version": "0.9.228",
"version": "0.9.229",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "continue",
"version": "0.9.228",
"version": "0.9.229",
"license": "Apache-2.0",
"dependencies": {
"@electron/rebuild": "^3.2.10",

View file

@ -331,12 +331,14 @@
{
"command": "continue.acceptDiff",
"mac": "shift+cmd+enter",
"key": "shift+ctrl+enter"
"key": "shift+ctrl+enter",
"when": "continue.diffVisible"
},
{
"command": "continue.rejectDiff",
"mac": "shift+cmd+backspace",
"key": "shift+ctrl+backspace"
"key": "shift+ctrl+backspace",
"when": "continue.diffVisible"
},
{
"command": "continue.rejectDiff",