Skip to content

vim-utils/vim-ruby-fold

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruby-fold.vim

Simple folding for ruby and rspec files.

Official vim-ruby plugin has too granular fold support. Every if statement, block, method, class, module and multi-line comment are folded.
The downside of this is that you might find yourself working too much through the folds to get to the actual code.

This plugin folds *only* ruby methods. In rspec files, it blocks are folded.

Benefits:

  • it's easy to get to the "actual code" because folds are always just one level deep
  • high-level file overview stays clean and readable because the code implementation within the methods is folded

Installation

Just use your favorite plugin manager.

License

MIT

About

simple folding for ruby and rspec files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published