KeyToMeta

A plugin for converting keys to metakeys
Maybe you can get the function shorter here. (move code below to function?)