vim: Use `d p` and `d u` for rejecting/keeping agent edits

Oleksiy Syvokon created

Change summary

assets/keymaps/vim.json | 7 +++++++
1 file changed, 7 insertions(+)

Detailed changes

assets/keymaps/vim.json 🔗

@@ -579,6 +579,13 @@
       "shift-u": "git::UnstageAndNext" // "d shift-u"
     }
   },
+  {
+    "context": "VimControl && (AgentDiff || editor_agent_diff)",
+    "bindings": {
+      "d p": "agent::Reject",
+      "d u": "agent::Keep"
+    }
+  },
   {
     "context": "vim_operator == gu",
     "bindings": {