How to use shortcut keys to insert or delete