Reputation: 41
There are keyboard shortcuts for inserting and running chunks. Is there a keyboard shortcut to delete the current chunk in R Markdown?
Upvotes: 4
Views: 4025
Reputation: 1439
I am not sure if such a feature exists. As of now, the trick I use to do it is folding the chunk and deleting the folded chunk.
You can also visit Shortcut: Select all in current R Markdown code chunk to view how to select the whole chunk, as I believe this may help.
Upvotes: 1