partial command mode
unify action representation
reimplement keysym translation ourselves for fun, profit, and py3 compat

also stop discriminating non-latin-1 :)
vim command mode
basic mode switching in vim