quarto-dev / quarto-vscode

Quarto extension for VS Code
https://marketplace.visualstudio.com/items?itemName=quarto.quarto
MIT License
112 stars 11 forks source link

Go to next and previous code chunk #92

Closed jooyoungseo closed 2 years ago

jooyoungseo commented 2 years ago

It would be great if go to next/previous code chunk features are provided in Quarto VSCode extension so that users can assign keyboard shortcuts (e.g., ctrl+pg-up/pg-down).

werkstattcodes commented 2 years ago

I added this to my keybinds.json. Works for me.

{
  "key": "ctrl+u",
  "command": "quarto.goToNextCell"
},
{
  "key": "ctrl+i",
  "command": "quarto.goToPreviousCell"
}
jjallaire commented 2 years ago

Yes, those commands are indeed there and can be assigned!