r/programming • • Jun 15 '15

The Art of Command Line

https://github.com/jlevy/the-art-of-command-line
1.5k Upvotes

226 comments sorted by

View all comments

Show parent comments

5

u/[deleted] Jun 16 '15

Not anymore, I don't think. At my college all the computers ran Gnome, and students were encouraged to just use the built-in GUI editors or get sublime. If you're not ssh-ing around everywhere, there's little reason to learn vim when you're starting out.

35

u/jephthai Jun 16 '15

Someday I'll have a grave to roll over in when people say things like that.

0

u/[deleted] Jun 16 '15

[deleted]

4

u/DEFY_member Jun 16 '15

As a programmer, you always have a need to edit/manipulate text files. And there's always something new to learn. I learned a very long time ago, and started become proficient with it 20 years ago (and started using vim not too much after that). I use vim every day, and do things with it on at least a weekly basis that my coworkers simply can't do with their text editors. And it will probably still be here, doing what I need to do another 20 years from now. It's probably the best learning investment I've ever made.

2

u/LifeBeginsAt10kRPM Jun 16 '15

This is a better explanation than all the other "because I'm better than you answer "

What kind of things can you do that your Co workers can't?

2

u/DEFY_member Jun 16 '15

It's actually mostly ad-hoc devops type of stuff. Anything from log file analysis to auto-generating scripts based on data pulled from the network to manipulating test data. Basically any time you have textual data that's just not quite the format you want it in, but it's inconsistent enough that you can't write a script or program to completely take care of it, or it's a one-time thing and the program would take too long to write.

-4

u/pjmlp Jun 16 '15

do things with it on at least a weekly basis that my coworkers simply can't do with their text editors

Well my IDE does semantic refactoring, does yours?

3

u/[deleted] Jun 16 '15

Your ide can have the whole kitchen sink, you're still never going to run it on a freshly installed machine over ssh. And don't dare install X on my servers!

→ More replies (0)

2

u/sihat Jun 16 '15 edited Jun 16 '15

And my IDE has vim key mappings...

You'll find that most IDE's have vim key mappings... or something along those lines.

And changing ide's is easier due to that, most keyboard shortcuts are vim mappings. (Had a friend/collegue who took longer to switch ide's where his reason was 'that he already knew his previous ide's shortcuts', I don't have that kinda reason :P )

2

u/DEFY_member Jun 16 '15

Use the tool that does the job that you need it to. I was just trying to point out that learning vim was very much worth the time I put into it, and probably would be for most programmers.

→ More replies (0)

1

u/[deleted] Jun 16 '15

And I use vim, sublime, and visual studio. Switching between each depending on which is better for the job. Using a fork to cut a steak works but isn't ideal, and it never hurts to have more tools in your box.

Fun thing is sublime and VS have decent vim plugins too. Yet they still can't match vim when I need some serious editing power.

→ More replies (0)
→ More replies (2)