Coder Social home page Coder Social logo

vimrc's Introduction

Personal Vim Configuration

Usage

WARNING: Init all submodules at once can be extremely slow; see section "A Note for YouCompleteMe" below.

$ git clone https://github.com/oldsharp/vimrc.git
$ cd vimrc && git submodule update --init --recursive
$ ln -sf /path/to/vimrc/vimrc ~/.vimrc
$ ln -sf /path/to/vimrc/vim ~/.vim
# Optional: You can then run ':Helptags' inside Vim to generating help tags.

Dependency

A Note for YouCompleteMe

Running git submodule update --init --recursive vim/bundle/YouCompleteMe can be extremely slow if the network is poor, since YCM itself contains a large submodule set.

A possible workaround: list all the submodules by git submodule status, then run git submodule update --init --recursive <path-to-submodule> manually - excepting the YCM submodule. You can then init YCM later whenever you get ready.

To update YCM, do not update with the --recursive option first; a possible (and safe) way:

  1. Unregister YCM by running git submodule deinit --force vim/bundle/YouCompleteMe if necessary.
  2. Update YCM by git submodule update vim/bundle/YouCompleteMe if we only want to catch up the superprojcet; or we can use the --remote option to fetch changes from remote side (the original YCM project). Set the --init option if necessary.
  3. Commit changes made in step 2 if necessary.
  4. Run git submodule update --init --recursive vim/bundle/YouCompleteMe to register and checkout all submodules inside YCM recursively.

To build/install YCM, refer to the official doc.

A Note for vim-airline Fancy Fonts

Refer to the official instruction.

A Note for vim-flake8 Configure

Refer to flake8's official doc.

License

This work has been placed in the public domain.

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.