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.

  • warg@lemmy.ml
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    22 days ago

    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.

    • sik0fewl
      link
      fedilink
      arrow-up
      2
      ·
      12 days ago

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

      • Hammerheart@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        11 days 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.