Giter VIP home page Giter VIP logo

vim-kicks-ass's Introduction

Vim Kicks Ass

This is an attempt of creating some sort of framework for managing you VIM configuration, in a social way. A lot of people share their .vimrc on github, which is great, but chances that you find exactly the VIM configuration you like is pretty small. This project is (or will be) a collection of popular VIM plugins, colorschemes and custom made presets, which can be enabled or disabled easily using the included vim-kicks-ass plugin. You will also find templates which you can use as your own vimrc, or you can use them for inspiration for creating your own.

My inspiration comes from the great oh-my-zsh project, where a lot of people has forked, contributed and otherwise helped creating a great framework for configuring zshell. I wan't the same for VIM.

I am not the greatest vimscript developer, nor am I the most advanced superuser of VIM, but with help from the community, I hope this project can become a great help for all those VIM lovers out there.

Requirements

haven't testet a lot, as this is an alpha release, but you should have

  • VIM 7.3
  • git in your path

Installation

3 small steps is required for getting up and running

# clone this repository
$ git clone https://github.com/kibs/vim-kicks-ass.git ~/.vim-kicks-ass

# enable vim-kicks-ass
$ mkdir -p ~/.vim/autoload
$ ln -s ~/.vim-kicks-ass/vim_kicks_ass.vim ~/.vim/autoload/vim_kicks_ass.vim

# create a .vimrc file, and use functions described further down, or choose a template as a starting point
$ cp ~/.vim-kicks-ass/templates/vimrc ~/.vimrc

And you should be good to go. The first time you start vim, it can take some time depending on how many plugins you enabled

Upgrading

just goto your vim-kicks-ass folder and update using git

$ cd ~/.vim-kicks-ass
$ git pull
$ git submodule update

Functions

vim_kicks_ass#with_plugins()

Use this for enabling all the plugins you want, can be called as many times you want. Can take a single string, or a list of plugins

call vim_kicks_ass#with_plugins("fugitive")
call vim_kicks_ass#with_plugins(["markdown", "surround"])

vim_kicks_ass#without_plugins()

if you want to remove a plugin, after you already added it, you can use this

call vim_kicks_ass#without_plugins("fugitive")
call vim_kicks_ass#without_plugins(["markdown", "surround"])

vim_kicks_ass#using_colorschemes()

load all the colorschemes you want, and don't forget to actually set it

call vim_kicks_ass#using_colorschemes("jellybeans")
colorscheme jellybeans

vim_kicks_ass#using_presets()

presets are just small blocks of configuration, if you like a specific preset you can enable it, and save yourself some configuration

call vim_kicks_ass#using_presets("ruby")

Contributing

Please fork and send pull requests, together we can make this big ;)

Thanks

I have copied some functions from the great pathogen project by Tim Pope, his vim plugins are the best!

vim-kicks-ass's People

Contributors

adba avatar kibs avatar

Stargazers

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