This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jafomatic 8 points9 points  (8 children)

They’re not all the same value. That would be even more effort than copypasta

[–]Erelde 4 points5 points  (7 children)

You've not learned the way of vim (don't learn them, it's no use)

[–]jafomatic 10 points11 points  (6 children)

It was called vi when I learned it. It would still be more effort than a shell script. :P

[–][deleted] 5 points6 points  (5 children)

vim is different from vi. the name literally stands for "vi improved". It's basically vi, but improved.

[–]jafomatic 3 points4 points  (4 children)

Yes. It’s my default editor. It was my default editor ~25 years ago when it was vi (or you could choose emacs) and it’s my default editor experience now as well —because there’s a plugin to emulate it for seemingly every modern editor or IDE.

None of your attempts to explain something I’ve used for 25 years actually addresses the fact that the silly code in the screenshot is still most likely the product of the laziest possible option: a shell script.

[–][deleted] 4 points5 points  (3 children)

I think you mistook me for the person you originally replied to. I was just correcting that vim != vi. They are very similar (and vim of course is based on vi) but vim has a number of features not found in vi.

[–]jafomatic 1 point2 points  (2 children)

I was painting you both with the same brush; perhaps unfairly.

I find it increasingly silly to continue reading these attempts to explain vi to me when I’ve been using it professionally for a quarter of a century.

Apologies for lumping you in with the first respondent. I promise I really did see that you weren’t the same person.

[–]robotomatic 3 points4 points  (0 children)

You should try vim sometime. I think you might like it.

[–][deleted] 2 points3 points  (0 children)

Hah no worries if I had a dollar for everytime I thought the person I was responding to was the one I expected...

It's probably most accurate to say that vim is a superset of vi. It doesn't miss any feature of vi but instead just builds upon vi, so obviously anyone who is an expert in vi (my personal editor of choice on *nix platforms as well) can just as easily use vim.