denite-rails is a Denite.nvim source for Rails.
Denite rails:dwim
to list correspoinding files to the current buffer's file in Denite buffer.
denite-rails also provide the below command to list specific files.
Denite rails:model
Denite rails:controller
Denite rails:view
Denite rails:helper
Denite rails:test
Denite rails:spec
nnoremap [rails] <Nop>
nmap <Leader>r [rails]
nnoremap [rails]r :Denite<Space>rails:
nnoremap <silent> [rails]r :<C-u>Denite<Space>rails:dwim<Return>
nnoremap <silent> [rails]m :<C-u>Denite<Space>rails:model<Return>
nnoremap <silent> [rails]c :<C-u>Denite<Space>rails:controller<Return>
nnoremap <silent> [rails]v :<C-u>Denite<Space>rails:view<Return>
nnoremap <silent> [rails]h :<C-u>Denite<Space>rails:helper<Return>
nnoremap <silent> [rails]r :<C-u>Denite<Space>rails:test<Return>
nnoremap <silent> [rails]s :<C-u>Denite<Space>rails:spec<Return>
- Support decorators/fixtures/etc.
- Support Cucumber/Turnip etc.
- Smarter namespace handling
- Refactoring
- Write tests