Remove NO_KEYMAP (use null) and fix plugins

Plugins needed a bit of extra work to support counts before operator
mappings.

Work for #415.