To me the popularity of vim is also due that it's a small and fast editor to be used in the cli with more featires than nano, while emacs mostly is a gui application. This makes it ideal to edit configuration files or small scripts on a server. I use it mostly for this reason, and my coworkers use it for the same reason, while I use vscode for programming.