do key un-definition first so key-bindings don't fail
simplify hideshow support so it actually works