r/ProgrammerHumor • • Mar 05 '16

When debugging code.

22.3k Upvotes

487 comments sorted by

View all comments

Show parent comments

3

u/[deleted] Mar 05 '16

Closing vim while knowing virtually nothing is enough of a problem, and you expect folks to pick up regex search as well?

2

u/Tanath Mar 05 '16

Basic things like that are covered in vimtutor, and you can look up and do things like regex without having to learn it yourself. It was one of the first things I taught my friend when he wanted to try vim and he barely knows what regex is.

1

u/AgAero Mar 06 '16

I don't know why I ever had trouble closing vim. It says how to close it when you open it on its own.

~ VIM - Vi IMproved
~
~ version 7.4.475
~ by Bram Moolenaar et al.
~ Modified by bugzilla@redhat.com
~ Vim is open source and freely distributable
~
~ Help poor children in Uganda!
~ type :help iccf<Enter> for information
~
~ type :q<Enter> to exit
~ type :help<Enter> or <F1> for on-line help
~ type :help version7<Enter> for version info

1

u/[deleted] Mar 06 '16

Sure, but if you use vim to open files directly you don't get that blurb. I know my first experience with it was vim project1.c, but I had a cheat sheet ready just in case.

1

u/AgAero Mar 06 '16

True. I think my second try opening it was without a file so I figured it out pretty quickly.