I would like to "center the screen" while in the R Notebook mode or the code editor screen.
This feature is available in Emacs through C-l, described as:
Scroll the selected window so the current line is the center-most text line; on subsequent consecutive invocations, make the current line the top line, the bottom line, and so on in cyclic order. Possibly redisplay the screen too (
Is there a way to do this in RStudio? It would be useful
I searched on the keyboard shortcuts, but could not find any that did it.