In VS code's Explorer side bar, how can I use ctrl+p and ctrl+n instead of up/down arrow keys for navigating among files?
Add the following snippet to your keybindings.json (you can find it by Open Keyboard Shortcuts (JSON) command).
{
"key": "ctrl+n",
"command": "list.focusDown",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus"
},
{
"key": "ctrl+p",
"command": "list.focusUp",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceIsRoot && !inputFocus"
},
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With