Update selection when keeping/rejecting hunks (#27902)

Release Notes:

- N/A
This commit is contained in:
Antonio Scandurra
2025-04-02 08:38:26 +00:00
committed by GitHub
parent 57d7bc23ae
commit c1d6dfd832
9 changed files with 367 additions and 114 deletions
+3 -3
View File
@@ -138,7 +138,7 @@
}
},
{
"context": "Editor && !assistant_diff",
"context": "Editor && !agent_diff",
"bindings": {
"ctrl-k ctrl-r": "git::Restore",
"ctrl-alt-y": "git::ToggleStaged",
@@ -147,7 +147,7 @@
}
},
{
"context": "AssistantDiff",
"context": "AgentDiff",
"bindings": {
"ctrl-y": "agent::Keep",
"ctrl-k ctrl-r": "agent::Reject"
@@ -645,7 +645,7 @@
"bindings": {
"enter": "agent::Chat",
"ctrl-i": "agent::ToggleProfileSelector",
"shift-ctrl-r": "agent::OpenAssistantDiff"
"shift-ctrl-r": "agent::OpenAgentDiff"
}
},
{