Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 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

  • Vundle
    Plugin 'bruno-/vim-ruby-fold'

  • Pathogen
    git clone git://github.com/bruno-/vim-ruby-fold.git ~/.vim/bundle/vim-ruby-fold

License

MIT

About

simple folding for ruby and rspec files

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages