search

Home  >  Q&A  >  body text

vimrc - How to synchronize vim configuration files between multiple machines and multiple users?

I often switch from one user or machine to another, and I have to edit .vimrc every time, which is crazy:(

高洛峰高洛峰2774 days ago706

reply all(3)I'll reply

  • 伊谢尔伦

    伊谢尔伦2017-05-16 16:37:05

    Manage the configuration with git repository and then push it to several remote repositories. After that, under each user, git clone for the first time...., and git pull later.

    reply
    0
  • 漂亮男人

    漂亮男人2017-05-16 16:37:05

    1. rsync

    2. scp, rough and simple

    3. Cloud disk

    4. git

    5. Put Vim into the USB drive

    Each has pros and cons, and there are many solutions

    reply
    0
  • 高洛峰

    高洛峰2017-05-16 16:37:05

    According to your needs, you may put it on github, and then use the curl command to download it wherever you go!

    reply
    0
  • Cancelreply