Welcome to Incremental Social! Learn more about this project here!
Check out lemmyverse to find more communities to join from here!

being a brazilian helps learn vim motions

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. :)

possiblylinux127 ,
@possiblylinux127@lemmy.zip avatar

Um, you probably should remove this post. KKK means something very different in the US

kurumin , (edited )
@kurumin@linux.community avatar

Fuck the USA government.

edited: added the word "government".

possiblylinux127 ,
@possiblylinux127@lemmy.zip avatar

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.

acockworkorange ,

"You are using your language wrong"

  • a random idiot on the internet.
possiblylinux127 ,
@possiblylinux127@lemmy.zip avatar

You got a point. Its just a touchy subject for many Americans.

acockworkorange ,

It's not even the same number of letters or capitalized. You're trying hard to find issue where there's none.

moinsdix ,

This last sentence needs to be said more in life

lemmesay OP ,
@lemmesay@discuss.tchncs.de avatar

just like shakira says
no busques problemas donde no los hay(lit: don't look for problems where there aren't any)

kurumin ,
@kurumin@linux.community avatar

edited: added the word “government”.

Now it is better.

TheInsane42 ,
@TheInsane42@lemmy.world avatar

Wow, using h j k l to navigate in vi takes me back to last century.

As long as I can remember vim has been navigating via the cursor keys...

callyral ,
@callyral@pawb.social avatar

cursor keys? you mean arrow keys? i'm pretty sure both work, although hjkl is in home row if you care about that

lemmesay OP ,
@lemmesay@discuss.tchncs.de avatar

perhaps he worked on ADM-3A, which had hjkl double as arrow keys(and upon which vi was made).

ignotum ,

When i edit my massive monolith codefiles:

pagedownpagedownpagedownpagedownpagedownpagedownpagedownpagedownpagedown

lemmesay OP ,
@lemmesay@discuss.tchncs.de avatar

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

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • linuxmemes@lemmy.world
  • incremental_games
  • meta
  • All magazines