How to share one vimrc file among multiple clients?

后端 未结 8 582
天涯浪人
天涯浪人 2021-01-29 19:03

I am not a very orderly person at times and I often find myself in the situation of losing my old fully tweaked vimrc file and having to start over all again. Or having differen

8条回答
  •  攒了一身酷
    2021-01-29 19:50


    There is also a very nice way to install plugins using Version Control, Since most of the VIM plugin are available on GITHUB it also help. Please see this Article which tells you how to keep your .VIM file synchronized using GIT, and load plugin as a sub module with the help of PATHOGEN plugin.

    Use GIT for Syncing VI plugins

    In short of what is mentioned in the vimcast and i am quoting from the Blog.

    1. Keep your dotfiles in git
    2. Install plugins as submodules using this commands
      git submodule add http://github.com/tpope/vim-fugitive.git bundle/fugitive

提交回复
热议问题