this post was submitted on 09 Jun 2025
552 points (97.4% liked)

Programmer Humor

24233 readers
943 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
(page 2) 46 comments
sorted by: hot top controversial new old
[–] kat_angstrom@lemmy.world 94 points 1 week ago (3 children)

I don't know why there's so much hate for Vim. It's simple- just use it as your default text editor since you first started using computers, and keep using it forever, and problem solved!

[–] TheFogan@programming.dev 68 points 1 week ago (3 children)

Setup for the overused joke - I've been using vim since I first started using a computer, I just can't quit.

[–] Heathcliff@lemm.ee 3 points 1 week ago

Right now I'm at the hospital in the exam yr colon queue! Maybe it helps U too.

load more comments (2 replies)
load more comments (2 replies)
[–] Endmaker@ani.social 34 points 1 week ago* (last edited 1 week ago) (9 children)

Personally, I have seen so many memes about exiting vim that by the time I got to use it for the first time, exiting it was a no-brainer.

For any newbies out there, the command is

:wq
[–] Malix@sopuli.xyz 30 points 1 week ago (1 children)

Just to add: possible need to tap esc first, as your random flailing probably put you in insert mode, or something more exotic.

And only add w if you want to save the file. :q! If you don't

[–] victorz@lemmy.world 7 points 1 week ago (1 children)

! If you edited the buffer at all. 👍

[–] Malix@sopuli.xyz 8 points 1 week ago

With random flailing, most likely

[–] TheFogan@programming.dev 14 points 1 week ago (1 children)

also worth noting you open vim the first time, you get a huge ass splash screen telling you how to exit

[–] dohpaz42@lemmy.world 1 points 6 days ago

Only if you don’t immediately open a file.

[–] elvith@feddit.org 6 points 1 week ago

And if you panicked before and fucked up the opened file while hammering on the keyboard:

:q!
[–] Badabinski@kbin.earth 5 points 1 week ago (1 children)

There's also ZZ 👉😎👉 Same caveats apply, smash that fukken esc key (for bonus points rebind caps lock as esc) then ZZ Top your way out of that shit.

load more comments (1 replies)
load more comments (5 replies)
[–] supersquirrel@sopuli.xyz 17 points 1 week ago (6 children)

Go beyond the lazy memes and see for yourself why it has such a loyal cult!

https://openvim.com/

[–] IrateAnteater@sh.itjust.works 13 points 1 week ago (2 children)

The loyal cult is the result of Stockholm syndrome.

[–] supersquirrel@sopuli.xyz 16 points 1 week ago (1 children)

Stockholm syndrome came from a bs flawed study so shrugs

[–] QuazarOmega@lemy.lol 14 points 1 week ago

That's exactly what a Stockholm syndrome victim would say!

load more comments (1 replies)
[–] lobut@lemmy.ca 8 points 1 week ago* (last edited 1 week ago) (1 children)

I use VS Code mainly and I always want to go to the end of a line and beginning. On Mac it's like CTRL+E and CTRL+A respectively. On Windows, I was like, I guess I could do Windows Key and arrows but it felt off. Installing Vim bindings on VS Code just fixed this all for me. I love it.

[edit] for non-VIM users, you can skip words and go-to braces (and delete what's in them) and highlight within quotes very easily ... for function search, the built-in VS Code is really good too. I also have Harpoon installed to hop between files. If it doesn't appeal to you, then that's cool too! Whatever keeps you in there. [/edit]

I've tried setting up my own vim stuff and I always bail out because I can't figure something out. I feel like I need to really sit with it and I'd have the perfect set up for me.

Lastly, I've installed vim for zsh and it's the best. I can hop all around my terminal and highlight and remove things. It's so beautiful.

[–] PrinzKasper@feddit.org 4 points 1 week ago (1 children)

I use VS Code mainly and I always want to go to the end of a line and beginning.

Soo... The end key and pos1 key?

[–] lobut@lemmy.ca 4 points 1 week ago

lol yes I understand I know I sound silly. My home/end aren't typical on my keyboard. It's like function and stuff, which breaks my flow for something I do so often.

[–] KiwiTB@lemmy.world 0 points 1 week ago (1 children)
[–] supersquirrel@sopuli.xyz 12 points 1 week ago* (last edited 1 week ago) (2 children)

I mean I do... with evil/vim bindings!

I love it.

No upvote tho because unnecessary 'tude

[–] kobra@lemmy.zip 8 points 1 week ago

Apologies for the completely random thought but this is the 2nd time in my life I’ve see “‘tude” written down. first time was in the “I can’t remember” song by Alice In Chains, so you’re in good company haha

[–] bss03@infosec.pub 4 points 1 week ago

Honestly, I don't like either programmability approach (vimscript/lua OR emacs-lisp), but I'll probably just stick with neovim, because when I'm on a system without my configuration, I've more productive there, and I don't want to learn enough emacs-lisp "APIs" to reproduce my somewhat small vim configuration.

load more comments (2 replies)
[–] andrewth09@lemmy.world 9 points 1 week ago (1 children)

You have heard of :wq, but have you heard of ZZ

[–] victorz@lemmy.world 4 points 1 week ago (1 children)
[–] protogen420@lemmy.blahaj.zone 1 points 6 days ago (3 children)

how about alt+printscreen lift printscreen but keep holding alt, now press b, you succesfully exited vim, works for emacs too!

load more comments (3 replies)
[–] whodatdair@lemmy.blahaj.zone 2 points 1 week ago (6 children)

‘vimtutor’ is your friend. Nobody sane uses vim as an IDE, but if you have to ssh to a host to fuck with a config file it’s pretty nice to know because you can guarantee that most distros have at least vi, if not vim.

[–] nous@programming.dev 31 points 1 week ago (2 children)

Nobody sane uses vim as an IDE

Huh? Many people do this. With the right plugins and config it is just as capable as any IDE.

[–] whodatdair@lemmy.blahaj.zone 1 points 6 days ago

I’ve met both the good kind of insane genius that uses it as an IDE and the crazy-board nutjob that uses it as an IDE, but both are decidedly not sane.

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

Many people do this.

Many people are insane.

[–] protogen420@lemmy.blahaj.zone 1 points 6 days ago

wait till you see emacs, and dont even let me mention vscode that thing runs on JS!

[–] NaibofTabr@infosec.pub 5 points 1 week ago (11 children)

If you're just doing a quick config edit, nano is significantly easier to use and is also present in most distros.

Vi/Vim is useful as a customizable dev environment, but in the present there are better, more feature-rich development tools - unless you are specifically doing a lot of development in a GUI-free system, for some reason.

[–] timbuck2themoon@sh.itjust.works 10 points 1 week ago (1 children)

I mean, if youre continually updating files on remote take the time to learn vim. My God it's a million times more efficient. Even using the keybindings in an ide makes sense.

That and Im not aware that rhel distros at all have nano built in. Nothing on a random rocky 9 box I randomly sshed into just now.

[–] victorz@lemmy.world 7 points 1 week ago (1 children)

Helix crew chiming in. 🙋‍♂️

I need to give this a go again. Tried it a while back but wasn't impressed enough to keep it. Been using pulsar since which has mostly been nice.

load more comments (10 replies)
load more comments (4 replies)
load more comments
view more: ‹ prev next ›