Ruby code folding with Emacs

by Chris Barrett

There are a few posts kicking around about how to approach Ruby code folding in Emacs. Here’s what I have in my init.el.

I’m an Evil user, which uses hideshow to emulate a subset of Vim’s folding–I have SPC bound to toggle folds. The default key bindings are a little trickier, and use the C-c @-prefix.

About these ads