13

I am using the latest v1.41.1 VSCode version and launching a jupyter notebook within it.

I cannot seem to find the standard jupyter notebook keyboard shortcut menu to customize, e.g., the hotkey for cutting or creating a cell.

I have looked under File > Preferences > Keyboard Shortcuts but I only see the shortcuts to run a cell or all cells.

starball
  • 20,030
  • 7
  • 43
  • 238
pcko1
  • 833
  • 12
  • 22

1 Answers1

1

You can just use VS Code's keybindings UI editor to browse existing keybindings (the Preferences: Open Keyboard Shortcuts command) (which you already know).

You can also find the "source code" (source configuration?) for the contributed commands and default keybindings in the Juptyer extensions in their package.json files in the "contributes" > "keyBindings" and "contributes" > "keyBindings" respectively:

(I'd link to specific line numbers, but those are subject to change for the latest commit, and I don't want to link to a specific commit and have to keep updating this post. Better for you to just ctrl+f in whatever tool you choose to browse the source code with)

You might also be interested in looking at the "contributes" > "configuration" field (the list of contributed setting IDs).

starball
  • 20,030
  • 7
  • 43
  • 238