this post was submitted on 13 Jun 2023
39 points (95.3% liked)

Programmer Humor

32442 readers
1093 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

I tried a couple of times and it's still magic to see anyone able to use it properly

I'll just stick to VScode for now I guess

top 20 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago (2 children)

PSA: run vimtutor in the terminal

[–] [email protected] 2 points 1 year ago

Oooh that's a handy feature I didn't know about

[–] [email protected] 1 points 1 year ago

This is exactly how I learned all those years ago, and to this day, I still use vim regularly. As in, literally, I was using it on a server this morning to make some changes. It's just become natural to me now.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Drat, I've been working with vi for 35y now... (feeling old) I'm glad I now know how to kill the mouse functions in vim so X clipboard works. ;)

Tried emacs once (in '94)... opened an extra xterm and killed it as I couldn't figure out how to save and exit. (it's just what you're used to ;) )

[–] [email protected] 0 points 1 year ago (1 children)

so.. how does one kill the mouse functions?

[–] [email protected] 1 points 1 year ago (1 children)

With a stick ;)

From my .vimrc:

" disable mouse
set mouse-=a
[–] [email protected] 1 points 1 year ago
[–] [email protected] 2 points 1 year ago

As a long time vim user with many macros and plugins, etc. and I love using it. But I have to say, it's hard for me to actually suggest vim to anyone new, because of how long it takes until you actually start using it comfortably...

[–] [email protected] 2 points 1 year ago
[–] [email protected] 1 points 1 year ago

By the way, the vim extension for VScode is great, so why not combine both.

[–] [email protected] 1 points 1 year ago (1 children)

I have about 30 years of my career left. That's not enough time for the return on investment of learning VIM to payout.

[–] [email protected] 0 points 1 year ago (1 children)

Eh. I know the basics. I can open, do some very basic editng, save and close. That's about as much as is really needed, right?

[–] [email protected] 1 points 1 year ago (1 children)

You can close VIM? Fucking legend.

[–] [email protected] 1 points 1 year ago

I can do it, too.

But I learned a few key steps in the process are: hit Ctrl Q, hit Ctrl C, hit Escape a few times, swear, take a breather, remember you’re in VIM and are now (accidentally rather then due to any correct move) out of INSERT mode, type :q.

Then you go to the sofa and put yourself in the fetal position.

[–] [email protected] 1 points 1 year ago (1 children)
[–] [email protected] 1 points 1 year ago

Nah... Helix is great, but the mouvement first philosophy is clearly something that I don't want to learn

[–] [email protected] 1 points 1 year ago

35 years ago (give or take) I used vi (no "m") for email and Usenet. I doubt I could remember how to do anything useful with it now.

[–] [email protected] 1 points 1 year ago

The only way to learn to use it is to use it. It's OK if you don't but using it will get you there. I've been a vi & vim user since the 90's and I'm still learning new things.

[–] [email protected] 1 points 1 year ago

Emacs is my favourite IDE. I switched to it from vim and never looked back.

[–] [email protected] 1 points 1 year ago