add key bindings, folding ruler