Create a portable bundle of your Vim environment.
myvim script will create an executable named vim.$(whoami).
curl -L https://raw.githubusercontent.com/junegunn/myvim/master/myvim | bashmyvim creates a tar archive of your .vimrc and .vim directory and append it
to a small bash script that temporarily swaps the existing .vim directory on
the system with the one from the archive to reproduce your Vim environment.
Since the generated executable swaps .vim directory while running Vim, the other Vim processes will be affected as well. It would be ideal if we could avoid swapping .vim directory, but most Vim configurations in the wild are not written in a portable way and directly refer to .vim directory.