fix some ruby mode stuff, add new bindings for hide-show mode