Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (25 sloc) 1.16 KB

Intro

  • use MacVim or vim, install via brew brew install macvim or brew install vim
  • brew install ctags

Installation

  1. Clone repository: git clone https://github.com/bartlomiejdanek/vim-configuration.git
  2. Load submodules: git submodule update --init
  3. Link repository directory into your local vim directory (ln -s path_to_repository ~/.vim)
  4. Link configuration file into your local configuration (ln -s ~/.vim/vimrc ~/.vimrc)
  5. Run :BundleInstall
  6. Ctags for rubygems
    • For rvm echo 'gem-ctags >> ~/.rvm/gemsets/default.gems' (this solution doesn’t work for rubies whose are already installed)
    • otherwise you can install gem-ctags for each gemset rvm all do gem install gem-ctags
    • or for system wide gem install gem-ctags

Configuration

  • core vimrc file
  • gui ~/.vim/gui.vim
  • keybinds (pure vim) ~/.vim/os/keybinds.vim
  • plugins (with keybinds) ~/.vim/os/plugins.vim

Updates

  • submodules
    git submodule foreach 'echo $path `git checkout master --force; git pull --force`'
  • plugins
    Run :BundleInstall from your vim

OS X setup

Turn off mission controll bindings on keyboard settings – section Mission Control