Install vim editor on Raspberry Pi
Before installing, please make sure that your software source has been switched to the country, otherwise the installation may fail due to network problems.
Replace the software source tutorial: Replace the domestic software source with the Raspberry Pi
Execute the following command to install the vim editor
sudo apt-get install vim