Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remap `down` quick open menu in vscode? [duplicate]

I'm trying to use Ctrl+j for scrolling down the list of suggestions when opening the quick open dialog in vscode. I tried remapping ALL the bindings for down to use Ctrl+j (I also removed all other bindings for Ctrl+j), but it's not working. The down arrow is still the only key that moves the selection in that dialog.

How can I fully remap Ctrl+j to be down? in all aspects of the UI.

like image 634
Juan Enrique Muñoz Zolotoochin Avatar asked Sep 18 '25 01:09

Juan Enrique Muñoz Zolotoochin


1 Answers

{
  "key": "ctrl+j",
  "command": "workbench.action.quickOpenNavigateNext",
  "when": "inQuickOpen"
}

If you don't want the item to be immediately opened, try:

{
  "key": "ctrl+j",
  "command": "workbench.action.quickOpenSelectNext",
  "when": "inQuickOpen"
},
{
  "key": "ctrl+k",
  "command": "workbench.action.quickOpenSelectPrevious",
  "when": "inQuickOpen"
}

I just use the Gear Icon/Keyboard Shortcuts to see all available commands.

Also, for discovering commands, see the accepted answer. option 2 at VSC Command Log and my comment thereafter for outputting any commands you execute via the command palette or keybindings.

like image 187
Mark Avatar answered Sep 23 '25 07:09

Mark



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!