Vim is a text/code editor.
Probably you are talking about e.g. vim on its vanilla configuration, but my point is that with enough customization effort one can do most tasks inside most popular editors.
There are loads of plugins: clang-autocomplete, ctags, gdb, git, etc. for vim, emacs, Kate, vscodium, sublime, etc.