Add keymap vi and history-search commands

Using zsh, the keymap doesn't get me anything, but in other things that
use readline (like ipython) this does give me the vi functionality I
want. Same for the history search backward and forward commands.