Completed the second draft of the theory of operation for vim mode.  Added a section telling how to write a key handler.