Center Screen while in Notebook or source editor


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:

" C-l

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 ( recenter-top-bottom )."

Is there a way to do this in RStudio? It would be useful :slight_smile:

I searched on the keyboard shortcuts, but could not find any that did it.


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.