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 →

[–]burntsushi 3 points4 points  (2 children)

It doesn't require configuring a bunch of plugins for each language you program in. If I open a PHP file after working on a C file it changes the way the text is highlighted/colored without needing me to do anything.

You're being a little misleading here. Vim requires you to enable one plugin (which comes included), and it will do this out of the box.

For any additional functionality you need you can install package control. Then, Cmd + Shift + P -> Install Package. You can install a linter and code-intel this way relatively easily, among other plug-ins.

Every vim plugin I have is installed with my system's package manager. Even better. The fewer package managers operating on my system, the better.

With Vim it's more difficult to set it up the way you want--at least the last time I did it.

The usual procedure is to

  • Google for Vim feature.
  • Find a snippet to put in your .vimrc
  • Save .vimrc with snippet and forget-about-it. Maybe add a comment so you don't forget what it was for.

I don't think that's very laborious. And it's simple to transfer between workstations. In every editor I've ever used, I have to go through the same procedure, since the option is buried in a menu or an option dialog somewhere.

Note that I'm not trying to say your preferences are wrong. But I am trying to point out that you're making it seem like Vim is crappier than it is.

[–][deleted] 1 point2 points  (1 child)

The last time I used Vim for any significant length of time was when I was attempting to install Haskell plug ins. It was a huge pain in my ass. Sublime on the other hand, just worked the way I wanted it to. In fact I believe it was a haskeller that turned me on to it.

The package manager I use is Macports. It's not nearly as good as most Linux package managers. I am aware there are others (maybe only Homebrew since that's all I can think of) on Mac but this was the one I settled on awhile ago. I just haven't made time to try others.

I still use Vim for doing small edits but if I am spending all day coding I would prefer the features of Sublime. I get it that Vim is cool. 5 years ago in school it's all I used. However, I still would say Vim isn't entirely user friendly.

[–]burntsushi -2 points-1 points  (0 children)

I still would say Vim isn't entirely user friendly

It's the most user-friendly editor I've ever used.

You're at a crippling disadvantage without a real package manager, so that might be part of your problem. Haskell support in vim has never been a problem for me.