Coder Social home page Coder Social logo

vimfiles's Introduction

vim

Directory Structure:

  • vimrc contains vim-specific settings, it also handles loading the config files mentioned below
  • plugins.vim a list of plugins manged by vim-plug
  • config/* settings for various 3rd-party plugins, colorscheme, and keybindings

Install script

  1. Pulls the latest vimfiles repo and fetches git submodules
  2. Installs various Go dependencies (for ex: go-fmt) needed by vim-go
  3. Runs :PlugInstall to installs the plugins listed in plugins.vim
  4. Finally, it compiles YouCompleteMe

Installing (via homemaker)

I use Homemaker for dotfiles management. Homemaker is similar to homesick but much simpler and cleaner (and written in Go). See homemaker.toml in my dotfiles repo.

An example homemaker task for install vimfiles:

    [tasks.vim]
        cmds = [
            ["rm", "-rf", "${HM_SRC}/vimfiles"],
            ["git", "clone", "[email protected]:dmix/vimfiles.git", "${HM_SRC}/vimfiles"],
            ["bash", "${HM_SRC}/vimfiles/install.sh"],
        ]
        links = [
            [".vimrc", "vimfiles/vimrc"],
            [".vim", "vimfiles"],
        ]

When homemaker is run it clones the vimfiles repo then runs the install script.

Note: Homemaker could also do everything in the vimfiles install script but I like to keep my vim repo self-contained, which makes it more portable (for example: setting up vim on servers where I don't need my desktop dotfiles).

Installing (via standalone script)

   git clone http://github.com/dmix/vimfiles.git /usr/local/dotfiles/vimfiles`
   cd /usr/local/dotfiles/vimfiles
   ./install

And whenever you need to update:

  ./update

Screenshots

colorscheme: jellybean.vim

jellybean theme

vimfiles's People

Stargazers

 avatar

Watchers

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