Also, don't knock the ability of some IDEs to show function documentation on mouseover - this can save a huge amount of time in reading API docs.
(1) There are IDEs, which include things such as build automation, debuggers, function lookups, etc. (2) There are text editors which maybe give you syntax highlighting.
I don't think I'm saying anything novel by suggesting that there is also an in-between: something that provides syntax highlighting, function lookups, etc., but which doesn't try to build your project for you.
You can use emacs like this, and you can use an IDE like this. So, many people voting for text editor and many voting for IDE may actually mean something more like this.
So with this definition Vim (and Emacs too) are both IDEs; they're just stripped down so that the developer can choose what features they want to add, or extend it with their own. I'm using Vim for Python, Java, and in the recent past PHP. With the right plugins Vim easily rivals any IDE that I've ever used (to be fair I haven't used that many). It has the added benefits of being widely available, having a bare minimum of requirements, and since it's purely character based it's usable through nothing more than a terminal.