lightsaber

Vim configurations - It's the weapon that every Jedi must construct themselves.

Lightsaber

Lightsaber is a rake installer for my Vim configurations. It uses pathogen managed by git submodules. The goal is to be able to eventually have a nice elegant Vim, perfect for coding ruby / rails / sinatra and easy to install.

picture alt picture alt

Install

Warning Existing Vim Users: I suggest moving all your configurations to a backup folder. This will not do it for you, yet.

Installation is done via rake. All you have to do is run:

$ cd ~
$ git clone https://github.com/willywos/lightsaber.git
$ cd lightsaber
$ rake install

That’s it. You should be able to fire up Vim or MacVim in the command prompt and start coding.

Adding vim plugins (via git)

You can add Vim plugins via a git url like this:

$ cd ~/lightsaber
$ rake add https://github.com/airblade/vim-gitgutter.git

It will look like this:

Installing https://github.com/airblade/vim-gitgutter.git
git submodule add https://github.com/airblade/vim-gitgutter.git vim/bundle/vim-gitgutter
Cloning into 'vim/bundle/vim-gitgutter'...
remote: Counting objects: 497, done.
remote: Compressing objects: 100% (268/268), done.
remote: Total 497 (delta 162), reused 453 (delta 125)
Receiving objects: 100% (497/497), 95.54 KiB, done.
Resolving deltas: 100% (162/162), done.
Completed vim-gitgutter

Updating (via git)

If you need to update lightsaber, go to where you installed lightsaber and run git pull followed by rake. You’ll get a new vimrc along with all the new packages and updates to those packages. If you made any changes that you don’t want blown away, stash them via git and then apply the stash after done updating.

$ cd ~/lightsaber
$ git pull
$ rake

Plugins

General

vim-surround

surround.vim: quoting/parenthesizing made simple

vim-markdown

Vim Markdown runtime files.

ctrlp

Fuzzy file, buffer, mru and tag finder.

Command: ctrl-p

ctrlp view

nerdtree

A tree explorer plugin for Vim.

supertab

Perform all your Vim insert mode completions with Tab

syntastic

Syntax checking hacks for Vim

tabular

Vim script for text filtering and alignment

vimcast

vim-airline

Lean & mean statusline for Vim that’s light as air

vim-multiple-cursors

True Sublime Text style multiple selections for Vim

vim-startify

A fancy start screen for Vim

Git

vim-fugitive

A Git wrapper so awesome, it should be illegal

vim-gitgutter

A Vim plugin which shows a git diff in the gutter (sign column)

Ruby

vim-ruby

Vim/Ruby Configuration Files

vim-rails

rails.vim: Ruby on Rails power tools

vim-ruby-refactoring

Refactoring tool for Ruby in Vim!

vim-bundler

bundler.vim: Lightweight support for Ruby’s Bundler

vim-endwise

Wisely add “end” in ruby, endfunction/endif/more in Vim script, etc

vim-rspec

Run Rspec specs from Vim

vim-rvm

rvm.vim: Switch Ruby versions from inside Vim

JS/CoffeeScript/Handlebars

vim-coffee-script

CoffeeScript support for Vim

vim-handlebars

Vim plugin for Handlebars

CSS

vim-stylus

Syntax Highlighting for Stylus

Submitting Pull Requests

  1. Fork the project
  2. Create a topic branch
  3. Implement your feature or bug fix
  4. If your change affects something in this README, please update it
  5. Commit and push your changes
  6. Submit a pull request

Related Repositories

lightsaber

lightsaber

Compile time dependency injection framework for JVM languages. Especially for Kotlin. ...

ProffieOS

ProffieOS

Lightsaber Controller Software ...

socket-starwars

socket-starwars

:star: Transforming a CSS lightsaber using HTML5 deviceorientation and Socket.IO ...

UnityLightsaber

UnityLightsaber

Volumetric Lightsaber in Unity ...

lightsaber-sound

lightsaber-sound

Android app simulating lightsaber sounds based on gyroscope and proximity sensor ...