ctrlp-rails for telescope.nvim
Plug 'nvim-telescope/telescope.nvim'
Plug 'sato-s/telescope-rails.nvim'
Load this extension.
require("telescope").load_extension("rails")
(optional) Add shortcuts.
nnoremap <leader>rs :Telescope rails specs<CR>
nnoremap <leader>rc :Telescope rails controllers<CR>
nnoremap <leader>rm :Telescope rails models<CR>
nnoremap <leader>rv :Telescope rails views<CR>
nnoremap <leader>ri :Telescope rails migrations<CR>
nnoremap <leader>rl :Telescope rails libs<CR>
:Telescope rails controllers
:Telescope rails specs
:Telescope rails models
:Telescope rails views
:Telescope rails migrations
:Telescope rails libs