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

Programmer Humor

18969 readers
702 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
900
Songs about Vim (programming.dev)
submitted 5 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]
 

.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 30 points 5 months ago (7 children)

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

[–] [email protected] 24 points 5 months ago (6 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

[–] [email protected] 12 points 5 months ago (2 children)

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

[–] [email protected] 8 points 5 months ago* (last edited 5 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.

[–] [email protected] 1 points 5 months 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

load more comments (3 replies)
load more comments (3 replies)