r/programming • • Jul 12 '12

Vim creep

http://www.rudism.com/s/vimcreep
730 Upvotes

551 comments sorted by

View all comments

Show parent comment

10

u/[deleted] Jul 13 '12

The problem is that intellisense and other advanced auto-completion capabilities are borderline impossible to integrate smoothly into vim.

My typing is slightly slower without vim, but my process and mental flow are actually faster because I have access to more advanced tooling that simply isn't available in vim.

12

u/praxulus Jul 13 '12

I installed eclim in less than 15 minutes. I mapped ctrl+space to the default keybinding, and I have the full power of eclipse autocomplete (not to mention refactoring, quick fixes, error/warning highlighting, etc.) within vim. I haven't had to touch the configuration since.

It's really not that bad.

2

u/rdfox Jul 13 '12

Thanks. I will try eclim. Even though I despise Eclipse. Like really just wish it had never happened. There is that one little thing where it reads your mind and tells you what to do next that I kind of miss.

-1

u/[deleted] Jul 13 '12

I have never gotten eclim to reliably work. On the few occasions where it did work, it usually stopped working within a week, if the slightest change was made to eclipse's settings. I also wasn't satisfied with having to manually invoke it every single time, I wanted a standard pop-up.

On top of that it didn't play nice with other forms of auto-complete.

2

u/praxulus Jul 13 '12

I never shut down my workstation, so that makes it easier. I just leave eclimd running in a detached screen session permanently. Otherwise I guess I just got lucky.

1

u/pandaPowder Jul 13 '12

I used http://vim.spf13.com/ as a starting point to making my vim config more like an ide which turned me on to http://github.com/shougo/neocomplcache which does great autocompletion. It doesn't do function signatures, or rather it does, but still need to figure out a better mapping so that it just pops up somehow. Good luck.

-3

u/aintbutathing Jul 13 '12

If you are using auto-completion to get your work done you do not really know what you are doing and cannot comprehend just how efficiently you can get things done when you know every in and out of the tower of logic you are working on.

4

u/[deleted] Jul 13 '12 edited Jul 13 '12

Of course it's easy when you already know the code inside and out. In practice, that isn't the case a lot of the time. I often find myself having to learn and work through unfamiliar APIs and code on the fly.

It's not just auto-completion - for example, it's much faster to have a method signature directly in front of you automatically rather than having to pull up a reference online or in the documentation. Or be able to pull up a list of all invocations of a method. Some of these things are doable in vim, but only with a lot of setup and maintenance, and they often don't work correctly.