Shortcut

Emacs Center the current line Shortcut

The Emacs shortcut to center the current line is Ctrl + L on Windows. It's the same on Mac.

Quick Answer

Windows
Ctrl+L
Mac
Ctrl+L
Web
Not confirmed yet
EmacsShortcut

Center the current line

Windows
Ctrl+L

Scroll so the line under the cursor sits in the middle of the window (recenter).

Learn More

How to center the current line in Emacs

  1. Open Emacs and go to where you want to center the current line.
  2. Press Ctrl + L on Windows or Ctrl + L on Mac.

Emacs Center the current line Shortcut for Windows

Press Ctrl + L.

Emacs Center the current line Shortcut for Mac

Press Ctrl + L.

Emacs Center the current line Shortcut for Emacs Web

We haven't confirmed a Emacs Web shortcut for this yet.

Version note: verify against the GNU Emacs Manual before publishing

Related Keyboard Shortcuts

Frequently asked questions

What is the Emacs center the current line shortcut?

On Windows, press Ctrl + L. On a Mac, press Ctrl + L.

Is there a Mac shortcut to center the current line in Emacs?

Yes: Ctrl + L.

Does it work in Emacs for the web?

We haven't confirmed a web version shortcut for this yet.

Official source · How we verify