Recenter display on current line

Use C-l to recenter the display on the current line. Pressing C-l several times moves the display so the current line is at the top, centre, or bottom of the window.

C-l runs the command recenter-top-bottom.

  • hmelman

    I recently learned of the recenter-positions option to change the order that repeated calls to C-l uses. I like having the first press put current line at top instead of middle.