dotFiles for environment setup
Enable installation of packages from MELPA by adding an entry to package-archives after (require 'package) and before the call to package-initialize in your init.el or .emacs file.
Then in emacs use M-x package-install-seleted-packages to install the plugins.
First install Vundle in https://github.com/VundleVim/Vundle.vim
Then just copy vimrc into your ~/.vimrc and you will have a good basic setup
Install SpaceVim with UserGuide https://spacevim.org/cn/quick-start-guide/ copy init.toml in ~/.SpaceVim.d/