Use spacevim
installation
- Terminal performs:
curl -sLf https://spacevim.org/cn/install.sh | bash
the installation is completed as shown:
use
- Use vim not open a file, it loads all the configuration, and then save and exit, just open a file using vim, it is ok
Configured to python development environment
Use vim to open a file, press the command mode
spc f v d
is空格+f+v+d
open spacevim configuration file, add the following two lines at the end,
it will automatically load the configuration after then save and exit[[layers]] name = "lang#python"
Configuration is complete, this torment for me this long to configure vim to people who really do not want to go get, people will use the configured it! !