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.
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
surround.vim: quoting/parenthesizing made simple
Vim Markdown runtime files.
Fuzzy file, buffer, mru and tag finder.
A tree explorer plugin for Vim.
Perform all your Vim insert mode completions with Tab
Syntax checking hacks for Vim
Vim script for text filtering and alignment
Lean & mean statusline for Vim that’s light as air
True Sublime Text style multiple selections for Vim
A fancy start screen for Vim
A Git wrapper so awesome, it should be illegal
A Vim plugin which shows a git diff in the gutter (sign column)
Vim/Ruby Configuration Files
rails.vim: Ruby on Rails power tools
Refactoring tool for Ruby in Vim!
bundler.vim: Lightweight support for Ruby’s Bundler
Wisely add “end” in ruby, endfunction/endif/more in Vim script, etc
Run Rspec specs from Vim
rvm.vim: Switch Ruby versions from inside Vim
CoffeeScript support for Vim
Vim plugin for Handlebars
Syntax Highlighting for Stylus
Submitting Pull Requests
- Fork the project
- Create a topic branch
- Implement your feature or bug fix
- If your change affects something in this README, please update it
- Commit and push your changes
- Submit a pull request