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.
This commit is contained in:
Viraj Bhartiya 2025-10-23 16:51:32 +05:30 committed by GitHub
parent 93ef1947b5
commit 9a6397fb17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"
}
},
{