this post was submitted on 18 Jul 2023
909 points (95.0% liked)

Programmer Humor

32396 readers
494 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

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

Vi is incredibly snappy when it came to commands.

Want to save? :w

Want to quit? :q

Want to save and quit? :wq

Very elegant. GUI WYSIWYG doesn't come close when it comes to commands.

[–] r00ty@kbin.life 3 points 1 year ago

A lot of the things I'm using are generally hangovers from those low bandwidth days. I've opened a file and I know what I want is a way down? Not a problem 10-Page down to move 10 pages down the file without sending all that to the terminal.

What to cut the next 5 lines into the buffer? 5dd. Move to the line you want to paste to. Want to remove the next 5 characters? 5x. Often on a slow link moving your cursor along had a delay. But if you knew how far you needed to go you could do 30+arrow right to get the cursor to move directly there.

I think most are obsolete now, but I'm still used to using them out of habit mostly.

[–] tool@r.rosettast0ned.com 3 points 1 year ago

Man, this comment made me feel a little embarrassed at myself. I saw the shortcuts and thought about how I have a tradition of going to the top of the file when I'm done editing and about to save/quit. I always hit the shortcut for it and think "gg boys! Good game" and then quit out of vim.

Stop judging me.