wikitopian/hardmode — pull request #32 by gkirilov (2014-01-01 19:07:09+00:00)
Title: Only map/unmap keys that haven't already been taken.

If a key has been mapped to some custom action (by another plugin, or in .vimrc), this key no longer has the meaning we intend to suppress with hardmode. We should leave it be.
Likewise, when leaving hardmode, if the key hasn't been mapped by us, do not unmap it, as something else might need that mapping.