https://github.com/maxmellon/vim-fzy-rails
A plugin to find file on rails project by fzy within vim.
https://github.com/maxmellon/vim-fzy-rails
Last synced: 5 months ago
JSON representation
A plugin to find file on rails project by fzy within vim.
- Host: GitHub
- URL: https://github.com/maxmellon/vim-fzy-rails
- Owner: MaxMEllon
- License: mit
- Created: 2017-10-17T15:45:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-24T14:11:01.000Z (over 8 years ago)
- Last Synced: 2025-04-07T14:42:43.700Z (about 1 year ago)
- Language: Vim script
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
vim-fzy-rails
---
[](https://travis-ci.org/MaxMEllon/vim-fzy-rails)
[](https://circleci.com/gh/MaxMEllon/vim-fzy-rails)

[](LICENSE)
[](./doc/vim-fzy-rails.txt)
**vim-fzy-rails is a plugin to find file on rails project by [fzy](https://github.com/jhawthorn/fzy) with in vim.**
Requirements
---
- Vim 8.0.0039 or above. (need `has('lambda')`)
- fzy 0.8 or above.
- Linux or macOS.
Usage
---
### Insallation
[Neobundle](https://github.com/Shougo/neobundle.vim) / [Vundle](https://github.com/gmarik/Vundle.vim) / [vim-plug](https://github.com/junegunn/vim-plug)
```vim
NeoBundle 'MaxMEllon/vim-fzy-rails'
Plugin 'MaxMEllon/vim-fzy-rails'
Plug 'MaxMEllon/vim-fzy-rails'
```
### Basic usage
```vim
nmap ,rc (vim-fzy-rails_controllers)
nmap ,rm (vim-fzy-rails_models)
nmap ,rv (vim-fzy-rails_views)
nmap ,rd (vim-fzy-rails_decorators)
nmap ,rp (vim-fzy-rails_packs)
nmap ,rj (vim-fzy-rails_javascripts)
nmap ,rsa (vim-fzy-rails_stylesheets)
nmap ,rse (vim-fzy-rails_serializers)
```
### Additional usages
Following you write next config, if you want to find a services layer `(ex. /app/services)`.
```vim
nmap ,rv :call fzy#rails#base#call('/app/services')
```
You able to correspond original special layer using the `fzy#rails#base#call()` function.
Auther
---
- MaxMEllon (https://github.com/MaxMEllon)
LICENSE
---
- MIT License