Global key shortcuts

Full rewrite of global key shortcuts