nbdev-vscode icon indicating copy to clipboard operation
nbdev-vscode copied to clipboard

Recommended keyboard shortcuts

Open seeM opened this issue 2 years ago • 0 comments

Related to https://github.com/fastai/nbdev-vscode/issues/20, we could also add recommended keyboard shortcuts that aren't in Jupyter:

  • cmd+shift+enter: Restart and rerun all cells
  • q q | cmd+enter : Run all cells
  • q a: Run cells above
  • q b: Run cell and below

Are there any preferences for what these keyboard shortcuts should be? We can include multiple too.

I personally also like these VIM-like shortcuts when in command mode:

  • g g: focus first cell
  • shift+g: focus last cell
  • ctrl+d: page up
  • ctrl+u: page down
  • h: folds selected section
  • l: unfolds selected section

Unfortunately I don't think there's a command to jump to the previous/next section heading like with Jupyter's Collapsible Headings extension.

What do you think?

seeM avatar Apr 25 '23 09:04 seeM