added auto-fill hooks; added key-binding for enabling auto-fill