The things you’re describing are still just text editor features. An IDE generally has specific functionality for building, testing, packaging, debugging etc. for one or more programming languages/environments.
(Which vim can do if configured, I don’t really have an opinion about that tbh)
Absolutely. It also has whole-line cut/uncut which is a godsend when working with config files