Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Rails.vim Projections

Rails.vim Projections

Projections in Rails.vim 5.0 - slides for London Vim user group.


Claudio Ortolina

April 30, 2013


  1. Projections in Rails.vim 5.0 Supercharge your navigation Tuesday, 30 April

  2. What kind of sorcery is this? Projections are a robust

    architecture that supersedes Rails.vim NavCommands. With projections you can: ‣Navigate to !les ‣Create new ones from templates ‣Jump between related and alternated !les with ease Tuesday, 30 April 13
  3. Where do I con!gure them? By itself, Rails.vim supports two

    con!guration options: ‣Global, in your ~/.vimrc !le ‣Per project, in config/projections.json Tuesday, 30 April 13
  4. If you have Bundler.vim Then projections can be loaded from:

    ‣Your ~/.vimrc !le and only if the gem is present in the Gemfile. ‣From any lib/rails/projections.json included in a gem present in the Gemfile. Tuesday, 30 April 13
  5. Demo! Tuesday, 30 April 13

  6. Links ‣https://github.com/tpope/vim-rails ‣https://github.com/tpope/vim-bundler ‣https://gist.github.com/cloud8421/5490033 Tuesday, 30 April 13