qstack
qstack

Reputation: 769

Move cursor to the middle of the screen in emacs

In vim you have the keys which move the cursor and not the page

H -- move to top of screen

L -- move to bottom of screen

M -- move to middle of screen

Is there something similar in emacs??

Upvotes: 9

Views: 2585

Answers (2)

Ehvince
Ehvince

Reputation: 18375

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

Install (with melpa):

package-install evil RET

use:

M-x evil-mode

Upvotes: 1

Kyle Meyer
Kyle Meyer

Reputation: 1586

You can do this with move-to-window-line-top-bottom (bound to M-r). See (info "(emacs) Moving point") for more information.

Upvotes: 19

Related Questions