Code Monkey home page Code Monkey logo

vim-plugins's Introduction

vim as ide

use vim8 native packages as plugin manager

every vim plugin project is a submodule


1. 安装package(插件集)

$ cd ~/.vim/pack/
$ git clone --recursive [email protected]:ashcoll/vim-plugins.git

2. 添加插件

$ git submodule add plugin-repo-github-addr start/submodule-name
把插件放到~/.vim/pack/*/start/目录下,当vim启动时,这些插件会处动加载。
建议colorscheme插件放到opt目录下;filetype plugins应放到start目录下;
更多请参考vim文档::h packages

3. 更新插件

3.1 更新原有插件
    $ git submodule foreach git pull
3.2 更新单个插件
    进行到子模块目录,然后执行:$ git pull
3.3 远仓库增加了一个模块,本地需要同步
    更新模块配置信息:$ git pull
    同步新子模块到本地:$ git submodule update --init

vim-plugins's People

Contributors

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