this post was submitted on 17 Mar 2024
921 points (97.4% liked)

Programmer Humor

19512 readers
329 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 1 year ago
MODERATORS
921
Songs about Vim (programming.dev)
submitted 7 months ago* (last edited 7 months ago) by chraebsli@programming.dev to c/programmer_humor@programming.dev
 

.

top 50 comments
sorted by: hot top controversial new old
[–] vlad76@lemmy.sdf.org 51 points 7 months ago (1 children)
[–] kautau@lemmy.world 12 points 7 months ago (1 children)
[–] Kusimulkku@lemm.ee 2 points 7 months ago (1 children)

I'm too used to nano, switching for micro for a while I was constantly using nano key combos and making a mess of things.

Stockholm syndrome from key combos lol

[–] kautau@lemmy.world 4 points 7 months ago (1 children)
[–] Kusimulkku@lemm.ee 3 points 7 months ago (1 children)

It would just be a bit funny since sensible keybindings was one of the reasons I originally switched. Turns out I had already used nano too long for me to actually want that feature hah.

[–] kautau@lemmy.world 7 points 7 months ago (3 children)

Haha very true, if micro was the default, many people coming from common GUI apps would be like “okay, ctrl z to undo” and “ctrl s to save” “wow, it actually worked”

[–] Kusimulkku@lemm.ee 4 points 7 months ago (1 children)

Absolutely. It would make sense as the default instead of nano (or vim of all things). Would help those who are just starting with Linux.

[–] kautau@lemmy.world 3 points 7 months ago

Def! I sort of wish the RFC committee would push standards for smart cross-platform shortcuts. Of course people with muscle memory in a different standard should be able to change for their usage, but even GUI apps like vscode, sublime text, IntelliJ, etc could benefit from standardization there

load more comments (2 replies)
[–] TxzK@lemmy.zip 41 points 7 months ago (1 children)

Vim user here. The only way to exit vim is to pray to the Vim gods and sacrifice your first born, hoping that they'll cause a cosmic ray to hit the right spot in the memory to flip the right bit that causes it to exit. There are no alternatives.

[–] Revan343@lemmy.ca 21 points 7 months ago (8 children)

I usually just power-cycle the machine

load more comments (8 replies)
[–] match@pawb.social 30 points 7 months ago (1 children)

easy mnemonic to quit vim: imagine you're captain Picard in the middle of typing ":3" when Q shows up

[–] Crow@lemmy.blahaj.zone 23 points 7 months ago (4 children)

Or, hear me out, : because you're doing a command, and then q for quit. Probably make it wq too, to write and quit

[–] chraebsli@programming.dev 11 points 7 months ago (2 children)

did you know there is a vim tutor for learning how to vim?

[–] TheRedSpade@lemmy.world 7 points 7 months ago* (last edited 7 months ago)

vimtutor, which I believe is installed with vim by default

Edit: My brain apparently inserted an extra word that made it seem like you were seeking said program. Leaving it though for those wondering in the future.

load more comments (1 replies)
[–] Cethin@lemmy.zip 7 points 7 months ago (1 children)

No, that doesn't make any sense. We need something convoluted so that people don't remember it next time it's needed.

load more comments (1 replies)
[–] kautau@lemmy.world 7 points 7 months ago

Forgot

Escape first, because it wants to keep you inside the matrix and you need to tell it you are trying to escape

q!

Because you probably don’t want to save whatever you’ve accidentally done to that file trying to quit, and you have to add an exclamation point because unless you yell loudly at vim it won’t listen

[–] Simon@lemmy.dbzer0.com 2 points 7 months ago* (last edited 7 months ago)

That's one too many letters. Need to use x for maximum efficiency gains.

[–] snaggen@programming.dev 20 points 7 months ago (1 children)

I have been a vim user for more than 20 years. I tried to quit for a couple of years, but now I have just accepted my faith.

[–] RustyNova@lemmy.world 12 points 7 months ago

Vim enthusiasts are just people with late stage Stockholm syndrome

[–] swab148@startrek.website 19 points 7 months ago (8 children)

Just because this is a vim meme, does anyone know how to copy text from one instance of vim to the other?

[–] embed_me@programming.dev 12 points 7 months ago* (last edited 7 months ago) (1 children)

You can yank text to system clipboard buffer ie +. Then paste (put) from the clipboard to any other vim process.

Keep in mind you should have clipboard support in your vim. If you're on ubuntu, install vim-gtk and you should be good

load more comments (1 replies)
[–] docAvid@midwest.social 10 points 7 months ago (2 children)

Just use a single instance of Emacs to edit everything everywhere all at once. You can even use vim keybindings if you have no taste.

load more comments (2 replies)
[–] Mohaim@beehaw.org 8 points 7 months ago* (last edited 7 months ago)

Install xclip then press "+y (double-quote plus-sign y) to yank to system clipboard then "+p to put from sys clipboard

[–] MashedTech@lemmy.world 7 points 7 months ago

Fuck it, use neovim and copy to the system clipboard.

[–] theFibonacciEffect@feddit.de 3 points 7 months ago

I think you can just use y and p

[–] Semi_Hemi_Demigod@lemmy.world 2 points 7 months ago

Copy the text to a local clipboard, then paste it into your terminal in the other instance

IDK I only use vim over ssh

load more comments (2 replies)
[–] xigoi@lemmy.sdf.org 15 points 7 months ago (1 children)

Is there any playlist that wouldn’t be improved by adding Cat by C418 at the end?

[–] chraebsli@programming.dev 5 points 7 months ago (4 children)

there aren't.

& most people don't even know what/ who C418 is...

[–] Cethin@lemmy.zip 7 points 7 months ago (3 children)

He was that guy working on the music for that 0x10c game, right?

[–] quylaa@lemmy.ml 4 points 7 months ago

Pour one out for 0x10c

load more comments (2 replies)
[–] stebo02@lemmy.dbzer0.com 6 points 7 months ago

most people don't even know what/ who C418 is...

most people would recognise his songs though...

load more comments (2 replies)
[–] autokludge@programming.dev 13 points 7 months ago (1 children)

Why do you want to exit? Just :terminal

[–] chraebsli@programming.dev 5 points 7 months ago

RIP to people who never shutdown or restart their PCs

[–] Dehydrated@lemmy.world 13 points 7 months ago

I have a few more suggestions:

  • JACKBOYS - WHAT TO DO?
  • Travis Scott - LOST FOREVER
  • Travis Scott - Impossible
[–] wise_pancake@lemmy.ca 9 points 7 months ago (1 children)

Less is more, or rather, more is less

[–] chraebsli@programming.dev 10 points 7 months ago

less really is more with more features. and more IS less with less features

[–] LinearArray@programming.dev 8 points 7 months ago

Someone finally exited vim

[–] davetapley@lemmy.world 8 points 7 months ago
[–] Simon@lemmy.dbzer0.com 6 points 7 months ago* (last edited 7 months ago)

Funny story. After you start you can't go back. What is a nano?

Edit: If ctrl-z doesn't get you out of vim you need to install another terminal or more likely just ditch your distro altogether.

[–] RiikkaTheIcePrincess@pawb.social 4 points 7 months ago* (last edited 7 months ago)

It's really not that hard v.v Caring to learn all' the shenans, that's the hard part. Same goes for Emacs. Archaic interfaces for the sake of archaism or "cool cred," I say 🤷

Edit: Also haha the joke is funny :P

[–] ZILtoid1991@lemmy.world 3 points 7 months ago

Nano >>> vim

[–] bl4ckblooc@lemmy.world 2 points 7 months ago

Nuka Cola is better

[–] Linkerbaan@lemmy.world 2 points 7 months ago

Pull the plug - Death

load more comments
view more: next ›