Giter Site home page Giter Site logo

atricfox-vims's Introduction

atricfox-vims

我的Vim插件管理版本库,采用pathogen进行管理.


版本库管理

  • 需要事先在github建立一个vim插件管理的版本库,使用submodule管理
  • 本地初始化版本库,在~/.vim目录下运行:git init
  • 建立与远程的版本库连接:git remote add origin <REMOTE_URL>

插件安装

在~/.vim目录下执行命令:

git submodule add 插件的giturl bundle/插件名称
例如:git submodule add https://github.com/tpope/vim-git.git bundle/vim-git

然后提交到git版本库即可。

插件移除

运行命令:

git rm bundle/插件名称

插件更新

更新全部插件

cd ~/.vim
git submodule foreach git pull origin master

更新单个插件

进入某个插件文件夹下,git pull origin master


配置迁移

git clone http://github.com/username/dotvim.git ~/.vim
ln -s ~/.vim/vimrc ~/.vimrc
cd ~/.vim
git submodule init
git submodule update

插件库

atricfox-vims's People

Contributors

atricfox avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.