https://github.com/andreapavoni/vim_starter_kit
a vim configuration with useful bundles
https://github.com/andreapavoni/vim_starter_kit
Last synced: 5 months ago
JSON representation
a vim configuration with useful bundles
- Host: GitHub
- URL: https://github.com/andreapavoni/vim_starter_kit
- Owner: andreapavoni
- Created: 2012-01-31T09:39:22.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2014-02-16T12:08:34.000Z (over 12 years ago)
- Last Synced: 2025-02-12T22:19:38.350Z (over 1 year ago)
- Language: VimL
- Homepage:
- Size: 182 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Vim starter kit (yet another one)
==========================
# WARNING: these configs are outdated. if you're still interested in them (along with other cool stuff), go to my [dotfiles repository](https://github.com/apeacox/dotfiles).
This configuration started as a Janus fork where I put my own configs, plugins
and shortcuts. But I was quite unhappy with the way the plugins were managed, so
I re-started from [Mislav](https://github.com/mislav/vimfiles)'s leaner config, then I've added my own customizations, ending to a completely different result.
It uses [vundle](https://github.com/gmarik/vundle) instead of [Pathogen](https://github.com/tpope/vim-pathogen), gitmodules are handy, but I prefer the vundle's approach: manage plugins by editing a file, instead of tracking external repos.
Some credits are necessary, I learned/stolen a lot from their code/configs/tips:
* [Tim Pope](http://tbaggery.com),
* [Janus project](https://github.com/carlhuda/janus).
* [Mislav] (mislav.uniqpath.com/2011/12/vim-revisited)
* [Jeff Kreeftmeijer] (http://jeffkreeftmeijer.com)
* [Vimcasts] (http://vimcasts.org/)
## Installation:
Prerequisites: ruby, git.
1. Move your existing configuration somewhere else:
`mkdir ~/my_backup && mv ~/.vim* ~/.gvim* my_backup`
2. Clone this repo into ".vim":
`git clone https://github.com/apeacox/myvimfiles ~/.vim`
3. Go into ".vim" and run "rake":
`cd ~/.vim && rake`
This will install "~/.vimrc" and "~/.gvimrc" symlinks that point to
files inside the ".vim" directory.
## Features:
* 2 spaces, no tabs
* incremental, case-insensitive search
* 'Leader' character mapped to "," (comma)
* `,.` opens CtrlP to find files and buffers (similar to Command-T and FuzzyFinder)
* `` switches between windows (no need to prepend ``)
* `` switches between buffers (and shows buffer list in command line meanwhile)
* cursor keys for movement disabled!
* `\\` open/closes NerdTree
* `,n` open CtrlP
* `F5` re-indent file
* `,cc` add comment to current (or selected) lines
I suggest to check vimrc to know the rest of shortcuts ;)
## Plugins:
I use the following plugins by default, you can edit the bundles in ```vimrc``` file to
add/remove them.
* Utils
* CtrlP
* git
* fugitive
* nerdtree
* airline (replaces powerline)
* vim-gutter (shows git diff in the gutter)
* git-grep (only find files tracked by git)
* qargs (exec batch commands on opened buffers)
* execrus (exec custom actions)
* bufferline (show open buffers in statusline)
* Editing
* nerdcommenter
* ZooWin
* surround
* supertab
* snipmate
* matchit
* tabular (aka Tabularize)
* Syntaxes
* markdown
* ruby
* rails
* coffee-script
* javascript
* cucumber + patch to align tables (see [here](https://gist.github.com/287147))
* haml
* scss
* rspec
* html5
* go
* Themes
* solarized
* vividchalk
* vsk_dark (generated with http://themes.sweyla.com)
* Tomorrow Night Bright (see [Tomorrow Theme] (https://github.com/chriskempson/tomorrow-theme))
* jellybeans
* distinguished ([a forked version](https://github.com/apeacox/vim-distinguished))
* molokai