Giter Club home page Giter Club logo

vimrc's Introduction

vimrc

My vim configuration.

My config strives to be:

  • Organized
  • Cross-platform
  • Backwards-compatible

These scripts should work on any machine. However, plugins and configuration that require functionality introduced in a newer patch level or in Neovim will be disabled. In addition, any plugins that require external commands that are not present will also be disabled.

Most configuration is handled in vimrc. All plugin configuration is handled by vim-plug in plugins.vim.

Installation

Ensure that $XDG_CONFIG_HOME, XDG_DATA_HOME, and XDG_CACHE_HOME are set to their defaults (or directories of your choosing). I use sh syntax here, but setting the variables manually in Windows should work as well.

export XDG_CONFIG_HOME=$HOME/.config
export XDG_DATA_HOME=$HOME/.local/share
export XDG_CACHE_HOME=$HOME/.cache

Clone the repository to $XDG_CONFIG_HOME.

git clone https://github.com/euclio/vimrc ${XDG_CONFIG_HOME}/vim

Set the proper initialization variables.

export VIMINIT='let $MYVIMRC=$XDG_CONFIG_HOME . "/vim/vimrc" | source $MYVIMRC'
export GVIMINIT='let $MYGVIMRC=$XDG_CONFIG_HOME . "/vim/gvimrc" | source $MYGVIMRC'

Upon starting vim, all plugins should be installed automatically, provided wget or curl is installed.

vimrc's People

Contributors

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