Hooked origami mode to some major modes