There are keyboard shortcuts for inserting and running chunks. Is there a keyboard shortcut to delete the current chunk in R Markdown?
There are keyboard shortcuts for inserting and running chunks. Is there a keyboard shortcut to delete the current chunk in R Markdown?
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.