image description:
“epic handshake” meme format with left arm superimposed with the text “Brazilians”, whilst right one with “novice vim users”
on top of handshake, text reads “kkkkk”.


for those who don’t get it: Brazilians(maybe other Portuguese speakers too?) use “kkkkkk” or “rsrsrs” in texting to indicate laugh, similar to “haha”.

pressing “k” in vim(in normal mode) makes the cursor go one line up. for efficient navigation, a number before a navigation key(h,j,k,l) can be used. e.g.: 10k to go 10 lines up.

also, “relative line numbers” might be a setting you may wish to turn on in case you need to jump several lines up.
you can also use Ctrl+d, Ctrl+u(or their full page counterparts Ctrl+f, Ctrl+b for quick navigation, but that’s a tip for some other day. :)

  • Ignotum@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    10 months ago

    When i edit my massive monolith codefiles:

    pagedownpagedownpagedownpagedownpagedownpagedownpagedownpagedownpagedown

    • lemmesay@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      then those Ctrl shortcuts I mentioned are for you, friend.
      they’ll help you move very quickly one you get used to them.

      • Possibly linux@lemmy.zip
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        10 months ago

        Well I don’t really care what you think of the us but you should avoid posting racist content. Its likely unintentional but you could offend someone.

        This isn’t unique to the us. You should consider removing content that is racist or promoting a terrorist organization.