marijnh/CodeMirror — pull request #2320 by ngzhian (2014-03-02 18:14:31+00:00)
Title: [vim] Add :nunmap and a simple test

In Vim, defaults keymap cannot be unmapped. They must be explicitly set to . In this case we allow that because user defined maps are stored in the same map as the defaults.
There is an ugly array comparison function in unmap(), the reason is that defaultKeymap is an array.