939
Songs about Vim (programming.dev)
submitted 2 years ago* (last edited 2 years ago) by chraebsli@programming.dev to c/programmer_humor@programming.dev

.

top 50 comments
sorted by: hot top controversial new old
[-] TxzK@lemmy.zip 40 points 2 years ago

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 2 years ago

I usually just power-cycle the machine

load more comments (7 replies)
[-] match@pawb.social 29 points 2 years ago

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

[-] Crow 22 points 2 years ago

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 2 years ago

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

[-] TheRedSpade@lemmy.world 7 points 2 years ago* (last edited 2 years 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.

[-] Crow 1 points 2 years ago

Yeah, but imo the best way to learn vim is to do it as you go. You only really need to know getting in and out of insert and how to write and quit. Once you've got that, if you wanna do something and think there's probably a better way than moving there with the arrow keys, look it up on the Internet, remember the thing, do it a few times and you've learned a new thing about vim. "Surely there's a search and replace function" yeah, is substitute with the s command. "I wanna navigate quicker within lines" use f, t and their capital versions. Combine with the quickscope plugin and you're golden. Learn the stuff you want to use, don't memorize commands you don't need

[-] kautau@lemmy.world 7 points 2 years 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

[-] Cethin@lemmy.zip 7 points 2 years ago

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

[-] Cwilliams@beehaw.org 2 points 2 years ago

Tell that to my history teacher...

[-] Simon@lemmy.dbzer0.com 2 points 2 years ago* (last edited 2 years ago)

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

[-] swab148@startrek.website 20 points 2 years ago

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 2 years ago* (last edited 2 years ago)

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

[-] swab148@startrek.website 1 points 2 years ago

I'm on Debian, but my VM is an Ubuntu server, so that should work!

[-] docAvid@midwest.social 10 points 2 years ago

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.

[-] swab148@startrek.website 1 points 2 years ago

Emacs is more for devs though, yeah? I'm just a lowly sysadmin in training.

load more comments (1 replies)
[-] Mohaim@beehaw.org 8 points 2 years ago* (last edited 2 years 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 2 years ago

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

[-] theFibonacciEffect@feddit.de 3 points 2 years ago

I think you can just use y and p

[-] Traister101@lemmy.today 2 points 2 years ago

Instance of Vim? Swap buffers fool

[-] swab148@startrek.website 2 points 2 years ago

Would this work if one of those instances was in a VM?

[-] Semi_Hemi_Demigod@lemmy.world 2 points 2 years 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

[-] snaggen@programming.dev 20 points 2 years ago

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 2 years ago

Vim enthusiasts are just people with late stage Stockholm syndrome

[-] xigoi@lemmy.sdf.org 14 points 2 years ago

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

[-] chraebsli@programming.dev 5 points 2 years ago

there aren't.

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

[-] Cethin@lemmy.zip 7 points 2 years ago

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

[-] quylaa@lemmy.ml 4 points 2 years ago

Pour one out for 0x10c

[-] kogasa@programming.dev 2 points 2 years ago

Haven't heard of 0x10c since 2012. Shame it was canceled, I love Elite and would love more games in its niche

[-] Cethin@lemmy.zip 2 points 2 years ago

I've found Ostranauts recently, and it's really fun and I feel has some of the same vibes. Not even close to the same though, being able to program your own systems that you put together. I still sometimes think about what 0x10c could have been. I've considered doing something similar myself, but I haven't gotten around to it. Maybe someday something similar will exist.

[-] Gobbel2000@feddit.de 3 points 2 years ago

Cat by C418 is literally the only piece in the list I recognize.

[-] Cwilliams@beehaw.org 1 points 2 years ago

MINECRAFT!!!!

[-] Dehydrated@lemmy.world 12 points 2 years ago

I have a few more suggestions:

  • JACKBOYS - WHAT TO DO?
  • Travis Scott - LOST FOREVER
  • Travis Scott - Impossible
[-] autokludge@programming.dev 12 points 2 years ago

Why do you want to exit? Just :terminal

[-] chraebsli@programming.dev 4 points 2 years ago

RIP to people who never shutdown or restart their PCs

[-] wise_pancake@lemmy.ca 9 points 2 years ago

Less is more, or rather, more is less

[-] chraebsli@programming.dev 9 points 2 years ago

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

[-] davetapley@lemmy.world 8 points 2 years ago
[-] LinearArray@programming.dev 8 points 2 years ago

Someone finally exited vim

[-] Simon@lemmy.dbzer0.com 6 points 2 years ago* (last edited 2 years 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 2 years ago* (last edited 2 years 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 2 years ago

Nano >>> vim

[-] Kerb@discuss.tchncs.de 1 points 2 years ago

:killall -9 vim

load more comments
view more: next ›
this post was submitted on 17 Mar 2024
939 points (100.0% liked)

Programmer Humor

26827 readers
1036 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