Code Monkey home page Code Monkey logo

vimconf's Introduction

vimconf

  • Super easy to install and extend
  • Everything in the vimrc is explained
  • A universal configuration with a syntax checker, plugin manager and more

Installation

Dependencies: Exuberant ctags (tagbar)

git clone https://github.com/timss/vimconf.git
ln -s vimconf/.vimrc ~/.vimrc

Run vim and it'll download and install all plugins automatically!

Configuration

If you choose to symlink your ~/.vimrc you can easily maintain an updated version of this vim configuration by using the local additions.

~/.vimrc.plugins Add your personal plugins here (previously .vimrc.bundles).
~/.vimrc.first Prerequisites only, as it will be overwritten by whatever below.
~/.vimrc.last Overrides everything. Generally use this.

I've chosen to include mostly universal plugins and configuration, meaning that not a lot is language specific and should be fitting for most use cases. If you want additional plugins for autocomplete and more you can do so easily using your local files mentioned above.

Some useful plugins could be:

  • clang_complete - C/C++ autocompletion using Clang
  • jedi-vim - Python autocompletion using the Jedi library.
  • YouCompleteMe - Autocompletion for several languages (C/C++, Python, ...)

Preview

Preview

Video: Writing a small perl-script using Vim (rather outdated)

Disclaimer

Even if this configuration can be used out of the box or tweaked using the local files, I urge you to build your own if you have the time and energy to do so. Only then will you be able to properly understand the reasoning behind each setting and tailor it to your personal workflow.

However I still believe my Vim setup will help you get a basis configuration for your own, introducing core ideas such as a plugin manager and .vimrc structure. Use this configuration well, but do not blindly trust it to suit you perfectly. It's intended to be played with!

Todo

  • Update preview (gifs)
  • Extract some language/plugin specific configuration to an example file (wiki)?
  • Swap Vundle with NeoBundle or vimplug for lazy loading of plugins, especially $HOME/.vimrc.plugins?
  • Move functions to $HOME/.vim/autoload? See How can I reduce startup time for vim?

vimconf's People

Contributors

timss avatar yourpresidentuniversal avatar

Stargazers

Roman avatar

Watchers

James Cloos 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.