Move the cursor to the middle of the screen in emacs

In vim, you have keys that move the cursor, not the page

H - go to the beginning of the screen

L - move at the bottom of the screen

M - move to the middle of the screen

Is there something similar in emacs?

+7
emacs cursor movement
source share
2 answers

You can do this with move-to-window-line-top-bottom (tied to Mr ). See (info "(emacs) Moving point") more details.

+11
source share

... and a mandatory comment: you can do the same if you use evil mode , the vim layer.

Install (with melpa ):

 package-install evil RET 

using:

 Mx evil-mode 
+2
source share

All Articles