this post was submitted on 19 Nov 2024
21 points (100.0% liked)

Neovim

2197 readers
2 users here now

founded 2 years ago
MODERATORS
 

By default in Neovim, H/M/L jump to the highest, middle, and lowest line in the current visible window. If you have scrolloff set, it can be dificult to tell exactly which lines they correspond to. I made this plugin to visually guide you.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 1 month ago* (last edited 1 month ago) (2 children)

By default in Neovim, H/M/L jump to the highest, middle, and lowest line in the current visible window

How did I not know this. How did I survive without this? Thanks OP.

[–] [email protected] 6 points 1 month ago

I wonder what other useful key bindings we are missing out on?

[–] [email protected] 2 points 3 weeks ago (1 children)

I don't know, but I have H and L remapped to ^ and $, which I like.

[–] Hammerheart 2 points 3 weeks ago

I like that, might try it myself, since I actually use those keys, but never wanted to jump to the highest or lowest visible line. Closest I get is gg and G.