Skip to content

mattr-/rails-navigation

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
This branch is 7 commits behind fotanus:master.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

rails-navigation

This package provides commands to navigate through rails files while keeping some context - for example, when you keep your cursor in an action method on the cursor and navigates to the view, the correct view file should be open. Same for tests It is inspired on the great vim-rails.

What it does:

  • Go to model
  • Go to controller
  • Go to helper
  • Go to migration (the one that creates the record)
  • Go to view file
  • Go to test (rspec or test::unit)

What it will do:

  • Go to factory
  • Go to partial
  • Mailer support
  • Open in the same tab option

Keymaps

There is no keybinding defined for using without the vim-mode package - please feel free to suggest.

On vim command mode, the keybindings are g X, where X is:

  • m for model
  • c for controller
  • v for view
  • h for helper
  • s for test (spec - g t is already used on vim-mode)

Alternatives

  • atom-rails: Aims to be a replacement for vim-rails, but currently support only navigational features.
  • rails-transporter: A cool alternative using finder to complete views instead of open the current context.

About

Atom package to navigate through your rails files

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 47.2%
  • CoffeeScript 37.7%
  • HTML 11.0%
  • CSS 3.2%
  • JavaScript 0.9%