Skip to content

junegunn/myvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

myvim

Create a portable bundle of your Vim environment.

Usage

myvim script will create an executable named vim.$(whoami).

curl -L https://raw.githubusercontent.com/junegunn/myvim/master/myvim | bash

How does it work?

myvim 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.

Limitation

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.

About

🍱 Script to create a portable bundle of Vim environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages