[vim keymap] :substitute support to confirm each replace

Add support for `'c'` option for :substitute, supports `y/n/a/l/q/`.

Fixed some old code that leaked a badly named `vim` global.