added some key mappings and repeat plugin