From 9a6397fb177cec19b848e2800f9cdc018dbfe984 Mon Sep 17 00:00:00 2001 From: Viraj Bhartiya Date: Thu, 23 Oct 2025 16:51:32 +0530 Subject: [PATCH] Add keybindings for menu navigation in vim.json (#40877) - Added "ctrl-p" for selecting the previous menu item - Added "ctrl-n" for selecting the next menu item Closes #40619 Release Notes: - Ctrl+P now moves to the previous result; Ctrl+N moves to the next. --- assets/keymaps/vim.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/keymaps/vim.json b/assets/keymaps/vim.json index 1d61628025765bb48b2002f8541bb425e025c142..da7491a0070cc74d8329d9bae65d445896b77386 100644 --- a/assets/keymaps/vim.json +++ b/assets/keymaps/vim.json @@ -983,7 +983,9 @@ "bindings": { "ctrl-h": "editor::Backspace", "ctrl-u": "editor::DeleteToBeginningOfLine", - "ctrl-w": "editor::DeleteToPreviousWordStart" + "ctrl-w": "editor::DeleteToPreviousWordStart", + "ctrl-p": "menu::SelectPrevious", + "ctrl-n": "menu::SelectNext" } }, {