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
Scroll so the line under the cursor sits in the middle of the window (recenter).
How to center the current line in Emacs
- Open Emacs and go to where you want to center the current line.
- 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