this post was submitted on 10 Jun 2026
255 points (99.2% liked)

memes

21511 readers
2529 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/Ads/AI SlopNo advertisements or spam. This is an instance rule and the only way to live. We also consider AI slop to be spam in this community and is subject to removal.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] TheLeadenSea@sh.itjust.works 14 points 5 hours ago (2 children)

Explain pls for us vimless noobs

[–] FedX@quokk.au 15 points 5 hours ago (1 children)

Direction navigation in vim is hjkl.

[–] IrateAnteater@sh.itjust.works 16 points 5 hours ago (3 children)

I know I'm just a vim-less heathen, but using letters for navigation in a text editor seems kind stupid when arrows exist.

[–] NeatNit@discuss.tchncs.de 30 points 5 hours ago (1 children)

No, you're 100% right. The only reason it's this way is this: https://pikuma.com/blog/origins-of-vim-text-editor

These literally were the arrow keys on the machine that vim was originally developed on.

[–] ExcessShiv@lemmy.dbzer0.com 6 points 4 hours ago (3 children)

Why the hell didn't they go with JIKL or something instead then, so the pattern at least resembles the direction it navigates?

[–] LSNLDN@slrpnk.net 15 points 4 hours ago (1 children)

Wasd was revolutionary at the time

[–] ExcessShiv@lemmy.dbzer0.com 17 points 4 hours ago

This really just shows how fundamentally terrible product developers engineers are.

[–] aradgus@lemmy.ml 4 points 3 hours ago

so your finges dont have to leave the home row. Its acually peak when you used hjkl for some time

[–] tpihkal@lemmy.world 3 points 4 hours ago

You should boycott vim. That'll teach 'em.

[–] expr@piefed.social 1 points 2 hours ago* (last edited 1 hour ago)

The reason it's so popular is because it provides directional navigation on the home row, with the direction that's by far the most common (down) under your strongest, dominant finger (the index finger).

It's much better for both efficiency and ergonomics than arrow keys.

[–] ExLisper@lemmy.curiana.net 4 points 4 hours ago (2 children)

Why would you move your hand to arrow keys when the letter are already under your fingers?

ESC, use-letter-to-navigate, i, type, ESC, navigate, i, type

Really simple. On my keyboard I re-mapped ESC to TAB so I don't even have to move my hand to switch between navigate and insert modes.

[–] IrateAnteater@sh.itjust.works 4 points 2 hours ago (3 children)

So you've transferred the required hand move from the right hand to the left, and added extra required keystrokes to accomplish the same task. I don't see how that isn't worse.

[–] tyler@programming.dev 1 points 2 hours ago

I use layers so esc is actually almost directly under my pinky.

[–] msage@programming.dev 1 points 2 hours ago

Moving hands is an extremely time-consuming task when you're typing 60+ words per minute. Couple of keystrokes are much much faster than relocating your hand twice.

[–] ExLisper@lemmy.curiana.net 1 points 2 hours ago (1 children)

No, it's a key stroke, not hand move. I don't have to reposition my hand to hit ESC. You do have to reposition your hand to use arrow keys.

Also, you usually move the cursor by more than just one character. It's one extra keystroke to reposition the cursor, not to move it by one char. You have shortcuts to jump to end of file, specific line, end of line or even create and jump to bookmarks. All this with just standard keys, without repositioning your hands to use the mouse or arrow keys.

[–] IrateAnteater@sh.itjust.works 1 points 1 hour ago (1 children)

Your keyboard must be slightly different than the one I have in front of me right now. Home row to esc and home row to arrows is the same distance on mine.

[–] ExLisper@lemmy.curiana.net 1 points 1 hour ago (1 children)

First, as I said, I remapped ESC to TAB key. Tab is very close.

Second, it's different to hit ESC ones than to use arrows keys to move around. To go back to home row after using arrow keys I have to feel around the keys trying to find "j" again. Or look at keyboard. I don't have to do that after hitting ESC once.

[–] IrateAnteater@sh.itjust.works 1 points 1 hour ago (1 children)

I'm not bothering to talk about non default layouts. Remapping is a separate discussion, since I could just as easily say it's better to remap wasd to the arrow function and have the FN key toggle it, since a much higher number of people already have that navigation method trained into muscle memory. This is a preference game no matter what, but it becomes an especially pointless discussion if you base it on custom layouts.

[–] ExLisper@lemmy.curiana.net 1 points 22 minutes ago

Custom layout was only part of my answer. Most vim users don't use custom layouts and second point still holds.

I could just as easily say it’s better to remap wasd to the arrow function and have the FN key toggle it,

Great idea. I would give you like 5% of what vim offers but 5% is better than 0%.

much higher number of people already have that navigation method trained into muscle memory

All vim users have hjkl trained into muscle memory. No one is saying that it's automatically better. vim has a learning curve. When you know how to use it it's simply better than traditional editors.

[–] msage@programming.dev 1 points 2 hours ago (1 children)

I have it instead of CapsLock, tab is too useful to forego.

But yes, arrow keys are too far, and I avoid them everytime I can, including in Shell

[–] ExLisper@lemmy.curiana.net 2 points 2 hours ago (1 children)

Yeah, sorry. I have:

Esc -> Caps lock (useless so far away)

Caps Lock -> Tab (the most useful so closest)

Tab -> Esc -> second most useful

I had it for so long that I forgot which one is which :)

[–] TerHu@lemmy.dbzer0.com 1 points 1 hour ago (1 children)

Imma throw another option into the ring which is Caps lock -> Esc / Ctrl. it‘s esc when tapped and ctrl when combined/ held for longer. veeeery useful

[–] ExLisper@lemmy.curiana.net 1 points 25 minutes ago

Sounds interesting. How do you set this up in Linux? I'm just remapping keys on X level now.

[–] graycube@lemmy.world 6 points 5 hours ago (2 children)

Instead of using the arrow keys most vi & him users navigate the cursor around the doc by using letter keys. I do it so subcociously now I am not sure which direction is the j when I use my phone.

[–] MonkderVierte@lemmy.zip 1 points 2 hours ago

But keyboards have arrow keys now?

[–] Lumidaub@feddit.org 1 points 4 hours ago (2 children)

I'm one of the noobs. You use letter keys to navigate around text?

[–] owsei@programming.dev 4 points 3 hours ago

Vim has several modes. INSERT mode let's you write text, NORMAL mode let's you navigate (with h,j,k,l and others) and perform operations on the text with your keyboard, like "dw" to Delete Word or "A" to enter insert mode at the end of the line.

You can use arrow keys to navigate in insert mode. However I just press escape, which changes to normal, navigate to where I want to, then change to insert mode.

I may seem like this makes simple navigation complex, and it kinda does. But complex navigation becomes easier.

Vi (and vim and neovim)'s primary concern is viewing and editing code, writing is secondary (although it's still an excellent experience)

[–] NominatedNemesis@reddthat.com 3 points 3 hours ago* (last edited 3 hours ago)

Yes, (neo)vi(m) has different modes, in normal mode the characters are shortcuts, hjkl is used for navigation. However other methods are prefered, w, e, b - jumping words, f,t - jumping to a specific character etc. Its way faster. Also it can be combined d2w (d)eletes the next (2) (w)ord. Or more advanced di" (d)eletes the text (i)nside the "..."

Insert mode is what you except: it writes what you type. Can be accessed by i - (i)nsert before a - (a)append after. Going back to normal mode is ESC (or many configure tab)