IMPORTANT NOTE: Tested in macOS
For use this bash it needs run in the $HOME folder and execute this command:
~ sudo chmod +x install_vim.sh
Then:
~ ./install_vim.sh
or:
~ bash install_vim.sh
If pass problems in the instalation can be pass the param "--uninstall" for remove the source folder and the program
~ bash install_vim.sh --uninstall
Motivations: https://gist.github.com/andru255/7176142